Alokai

CCPAttribute

An attribute of a complex product CCPAttribute

export interface CCPAttribute {
	'conflicts'?: Array<CCPConflict>;
	'domainValues'?: Array<CCPAttributeValue>;
	'formattedValue'?: string;
	'images'?: Array<Image>;
	'intervalInDomain'?: boolean;
	'key'?: string;
	'langDepName'?: string;
	'longText'?: string;
	'maxlength'?: number;
	'messages'?: Array<CCPMessage>;
	'name'?: string;
	'negativeAllowed'?: boolean;
	'numberScale'?: number;
	'required'?: boolean;
	'retractBlocked'?: boolean;
	'retractTriggered'?: boolean;
	'type'?: CCPAttributeTypeEnum;
	'typeLength'?: number;
	'validationType'?: CCPAttributeValidationTypeEnum;
	'value'?: string;
	'visible'?: boolean;
}

Properties

NameRequiredTypeDescription
conflictsOptionalArray<CCPConflict>List of conflicts {Array<CCPConflict>} CCPAttribute
domainValuesOptionalArray<CCPAttributeValue>List of domain values {Array<CCPAttributeValue>} CCPAttribute
formattedValueOptionalstringFormatted attribute value, relevant for numeric attributes. This formatting takes the session locale into account {string} CCPAttribute
imagesOptionalArray<Image>Image list {Array<Image>} CCPAttribute
intervalInDomainOptionalbooleanThe list of attribute domain values contain an interval. Only relevant if the attribute is of numeric type {boolean} CCPAttribute
keyOptionalstringLanguage independent attribute key {string} CCPAttribute
langDepNameOptionalstringLanguage dependent attribute description {string} CCPAttribute
longTextOptionalstringLanguage dependent attribute long description {string} CCPAttribute
maxlengthOptionalnumberMaximum length of attribute value names for all domain values {number} CCPAttribute
messagesOptionalArray<CCPMessage>Message list {Array<CCPMessage>} CCPAttribute
nameOptionalstringLanguage independent attribute name as assigned in the modeling environment {string} CCPAttribute
negativeAllowedOptionalbooleanAre negative values allowed? Only relevant if the attribute is of numeric type {boolean} CCPAttribute
numberScaleOptionalnumberNumber of decimal places. Only relevant if the attribute is of numeric type {number} CCPAttribute
requiredOptionalbooleanIt is required to specify this attribute in order to complete the configuration {boolean} CCPAttribute
retractBlockedOptionalbooleanRetract must never happen for this attribute because the configuration engine forbids that {boolean} CCPAttribute
retractTriggeredOptionalbooleanHas a retract been triggered for all values of this attribute? {boolean} CCPAttribute
typeOptionalCCPAttributeTypeEnumAttribute type. Specifies how the attribute should be rendered ideally {string} CCPAttribute
typeLengthOptionalnumberMaximum number of decimal places. Only relevant if the attribute is of numeric type {number} CCPAttribute
validationTypeOptionalCCPAttributeValidationTypeEnumAttribute validation type. Specifies how an attribute should be validated in case it's free input {string} CCPAttribute
valueOptionalstringAttribute value, in case the attribute is single valued {string} CCPAttribute
visibleOptionalbooleanAttribute is visible {boolean} CCPAttribute

Referenced Types

On this page