Skip to main content

AttributeIntValue

Integer-based attribute value for whole number data with range validation.

Stores 32-bit integer values for quantities, counts, ratings, identifiers, or any numeric data that doesn't require decimal precision. Supports the full range of 32-bit signed integers.

type AttributeIntValue implements AttributeValue {
id: String!
type: AttributeType!
intValue: Int!
}

Fields

AttributeIntValue.id ● String! non-null scalar

Unique identifier for this attribute value instance.

Auto-generated UUID that serves as the primary key for this specific attribute value. Used to reference and manage individual attribute value instances across the system.

AttributeIntValue.type ● AttributeType! non-null enum

Type identifier for integer-based attribute values.

Always set to int for this value type. Used for type discrimination and validation in polymorphic attribute value handling.

AttributeIntValue.intValue ● Int! non-null scalar

Integer value within the 32-bit signed integer range.

Stores whole numbers without decimal places, perfect for quantities, counts, ratings, sequence numbers, or numeric identifiers.

Interfaces

AttributeValue interface

Base interface for all attribute value types with polymorphic type resolution.

Provides the foundation for typed attribute values across different data types including text, enumeration, color, decimal, datetime, and integer values. Each concrete implementation handles specific data type requirements, validation, and formatting.

The interface enables polymorphic handling of attribute values while maintaining type safety and proper validation for each specific attribute type. Used throughout the system for storing and retrieving typed attribute data.