Class ClassAttributeAssignmentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.catalog.model.classification.ClassAttributeAssignmentModel
All Implemented Interfaces:
Serializable

public class ClassAttributeAssignmentModel extends ItemModel
Generated model class for type ClassAttributeAssignment first defined at extension catalog.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CLASSIFICATIONCLASS

      public static final String CLASSIFICATIONCLASS
      Generated constant - Attribute key of ClassAttributeAssignment.classificationClass attribute defined at extension catalog.
      See Also:
    • CLASSIFICATIONATTRIBUTE

      public static final String CLASSIFICATIONATTRIBUTE
      Generated constant - Attribute key of ClassAttributeAssignment.classificationAttribute attribute defined at extension catalog.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of ClassAttributeAssignment.description attribute defined at extension catalog.
      See Also:
    • SYSTEMVERSION

      public static final String SYSTEMVERSION
      Generated constant - Attribute key of ClassAttributeAssignment.systemVersion attribute defined at extension catalog.
      See Also:
    • POSITION

      public static final String POSITION
      Generated constant - Attribute key of ClassAttributeAssignment.position attribute defined at extension catalog.
      See Also:
    • EXTERNALID

      public static final String EXTERNALID
      Generated constant - Attribute key of ClassAttributeAssignment.externalID attribute defined at extension catalog.
      See Also:
    • UNIT

      public static final String UNIT
      Generated constant - Attribute key of ClassAttributeAssignment.unit attribute defined at extension catalog.
      See Also:
    • MANDATORY

      public static final String MANDATORY
      Generated constant - Attribute key of ClassAttributeAssignment.mandatory attribute defined at extension catalog.
      See Also:
    • LOCALIZED

      public static final String LOCALIZED
      Generated constant - Attribute key of ClassAttributeAssignment.localized attribute defined at extension catalog.
      See Also:
    • RANGE

      public static final String RANGE
      Generated constant - Attribute key of ClassAttributeAssignment.range attribute defined at extension catalog.
      See Also:
    • MULTIVALUED

      public static final String MULTIVALUED
      Generated constant - Attribute key of ClassAttributeAssignment.multiValued attribute defined at extension catalog.
      See Also:
    • SEARCHABLE

      public static final String SEARCHABLE
      Generated constant - Attribute key of ClassAttributeAssignment.searchable attribute defined at extension catalog.
      See Also:
    • ATTRIBUTETYPE

      public static final String ATTRIBUTETYPE
      Generated constant - Attribute key of ClassAttributeAssignment.attributeType attribute defined at extension catalog.
      See Also:
    • REFERENCETYPE

      public static final String REFERENCETYPE
      Generated constant - Attribute key of ClassAttributeAssignment.referenceType attribute defined at extension catalog.
      See Also:
    • REFERENCEINCLUDESSUBTYPES

      public static final String REFERENCEINCLUDESSUBTYPES
      Generated constant - Attribute key of ClassAttributeAssignment.referenceIncludesSubTypes attribute defined at extension catalog.
      See Also:
    • FORMATDEFINITION

      public static final String FORMATDEFINITION
      Generated constant - Attribute key of ClassAttributeAssignment.formatDefinition attribute defined at extension catalog.
      See Also:
    • LISTABLE

      public static final String LISTABLE
      Generated constant - Attribute key of ClassAttributeAssignment.listable attribute defined at extension catalog.
      See Also:
    • COMPARABLE

      public static final String COMPARABLE
      Generated constant - Attribute key of ClassAttributeAssignment.comparable attribute defined at extension catalog.
      See Also:
    • VISIBILITY

      public static final String VISIBILITY
      Generated constant - Attribute key of ClassAttributeAssignment.visibility attribute defined at extension catalog.
      See Also:
    • ATTRIBUTEVALUES

      public static final String ATTRIBUTEVALUES
      Generated constant - Attribute key of ClassAttributeAssignment.attributeValues attribute defined at extension catalog.
      See Also:
    • ATTRIBUTEVALUEDISPLAYSTRING

      public static final String ATTRIBUTEVALUEDISPLAYSTRING
      Generated constant - Attribute key of ClassAttributeAssignment.attributeValueDisplayString attribute defined at extension catalog.
      See Also:
    • ENABLEWYSIWYGEDITOR

      public static final String ENABLEWYSIWYGEDITOR
      Generated constant - Attribute key of ClassAttributeAssignment.enableWysiwygEditor attribute defined at extension platformbackoffice.
      See Also:
  • Constructor Details

    • ClassAttributeAssignmentModel

      public ClassAttributeAssignmentModel()
      Generated constructor - Default constructor for generic creation.
    • ClassAttributeAssignmentModel

      public ClassAttributeAssignmentModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • ClassAttributeAssignmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ClassAttributeAssignmentModel(ClassificationAttributeModel _classificationAttribute, ClassificationClassModel _classificationClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _classificationAttribute - initial attribute declared by type ClassAttributeAssignment at extension catalog
      _classificationClass - initial attribute declared by type ClassAttributeAssignment at extension catalog
    • ClassAttributeAssignmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ClassAttributeAssignmentModel(ClassificationAttributeModel _classificationAttribute, ClassificationClassModel _classificationClass, ItemModel _owner, ClassificationSystemVersionModel _systemVersion)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _classificationAttribute - initial attribute declared by type ClassAttributeAssignment at extension catalog
      _classificationClass - initial attribute declared by type ClassAttributeAssignment at extension catalog
      _owner - initial attribute declared by type Item at extension core
      _systemVersion - initial attribute declared by type ClassAttributeAssignment at extension catalog
  • Method Details

    • getAttributeType

      @Accessor(qualifier="attributeType", type=GETTER) public ClassificationAttributeTypeEnum getAttributeType()
      Generated method - Getter of the ClassAttributeAssignment.attributeType attribute defined at extension catalog.
      Returns:
      the attributeType - Type of attribute: string, number, boolean or range
    • getAttributeValueDisplayString

      @Accessor(qualifier="attributeValueDisplayString", type=GETTER) public String getAttributeValueDisplayString()
      Generated method - Getter of the ClassAttributeAssignment.attributeValueDisplayString attribute defined at extension catalog.
      Returns:
      the attributeValueDisplayString
    • getAttributeValueDisplayString

      @Accessor(qualifier="attributeValueDisplayString", type=GETTER) public String getAttributeValueDisplayString(Locale loc)
      Generated method - Getter of the ClassAttributeAssignment.attributeValueDisplayString attribute defined at extension catalog.
      Parameters:
      loc - the value localization key
      Returns:
      the attributeValueDisplayString
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getAttributeValues

      @Accessor(qualifier="attributeValues", type=GETTER) public List<ClassificationAttributeValueModel> getAttributeValues()
      Generated method - Getter of the ClassAttributeAssignment.attributeValues attribute defined at extension catalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the attributeValues
    • getClassificationAttribute

      @Accessor(qualifier="classificationAttribute", type=GETTER) public ClassificationAttributeModel getClassificationAttribute()
      Generated method - Getter of the ClassAttributeAssignment.classificationAttribute attribute defined at extension catalog.
      Returns:
      the classificationAttribute
    • getClassificationClass

      @Accessor(qualifier="classificationClass", type=GETTER) public ClassificationClassModel getClassificationClass()
      Generated method - Getter of the ClassAttributeAssignment.classificationClass attribute defined at extension catalog.
      Returns:
      the classificationClass
    • getComparable

      @Accessor(qualifier="comparable", type=GETTER) public Boolean getComparable()
      Generated method - Getter of the ClassAttributeAssignment.comparable attribute defined at extension catalog.
      Returns:
      the comparable
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the ClassAttributeAssignment.description attribute defined at extension catalog.
      Returns:
      the description - description of attribute usage
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the ClassAttributeAssignment.description attribute defined at extension catalog.
      Parameters:
      loc - the value localization key
      Returns:
      the description - description of attribute usage
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getEnableWysiwygEditor

      @Accessor(qualifier="enableWysiwygEditor", type=GETTER) public Boolean getEnableWysiwygEditor()
      Generated method - Getter of the ClassAttributeAssignment.enableWysiwygEditor attribute defined at extension platformbackoffice.
      Returns:
      the enableWysiwygEditor
    • getExternalID

      @Accessor(qualifier="externalID", type=GETTER) public String getExternalID()
      Generated method - Getter of the ClassAttributeAssignment.externalID attribute defined at extension catalog.
      Returns:
      the externalID - external identifier refering to the actual classification system definition
    • getFormatDefinition

      @Accessor(qualifier="formatDefinition", type=GETTER) public String getFormatDefinition()
      Generated method - Getter of the ClassAttributeAssignment.formatDefinition attribute defined at extension catalog.
      Returns:
      the formatDefinition - Format definition string: optionally used e.g. as number format
    • getListable

      @Accessor(qualifier="listable", type=GETTER) public Boolean getListable()
      Generated method - Getter of the ClassAttributeAssignment.listable attribute defined at extension catalog.
      Returns:
      the listable
    • getLocalized

      @Accessor(qualifier="localized", type=GETTER) public Boolean getLocalized()
      Generated method - Getter of the ClassAttributeAssignment.localized attribute defined at extension catalog.
      Returns:
      the localized
    • getMandatory

      @Accessor(qualifier="mandatory", type=GETTER) public Boolean getMandatory()
      Generated method - Getter of the ClassAttributeAssignment.mandatory attribute defined at extension catalog.
      Returns:
      the mandatory
    • getMultiValued

      @Accessor(qualifier="multiValued", type=GETTER) public Boolean getMultiValued()
      Generated method - Getter of the ClassAttributeAssignment.multiValued attribute defined at extension catalog.
      Returns:
      the multiValued
    • getPosition

      @Accessor(qualifier="position", type=GETTER) public Integer getPosition()
      Generated method - Getter of the ClassAttributeAssignment.position attribute defined at extension catalog.
      Returns:
      the position
    • getRange

      @Accessor(qualifier="range", type=GETTER) public Boolean getRange()
      Generated method - Getter of the ClassAttributeAssignment.range attribute defined at extension catalog.
      Returns:
      the range
    • getReferenceIncludesSubTypes

      @Accessor(qualifier="referenceIncludesSubTypes", type=GETTER) public Boolean getReferenceIncludesSubTypes()
      Generated method - Getter of the ClassAttributeAssignment.referenceIncludesSubTypes attribute defined at extension catalog.
      Returns:
      the referenceIncludesSubTypes
    • getReferenceType

      @Accessor(qualifier="referenceType", type=GETTER) public ComposedTypeModel getReferenceType()
      Generated method - Getter of the ClassAttributeAssignment.referenceType attribute defined at extension catalog.
      Returns:
      the referenceType
    • getSearchable

      @Accessor(qualifier="searchable", type=GETTER) public Boolean getSearchable()
      Generated method - Getter of the ClassAttributeAssignment.searchable attribute defined at extension catalog.
      Returns:
      the searchable
    • getSystemVersion

      @Accessor(qualifier="systemVersion", type=GETTER) public ClassificationSystemVersionModel getSystemVersion()
      Generated method - Getter of the ClassAttributeAssignment.systemVersion attribute defined at extension catalog.
      Returns:
      the systemVersion
    • getUnit

      Generated method - Getter of the ClassAttributeAssignment.unit attribute defined at extension catalog.
      Returns:
      the unit
    • getVisibility

      @Accessor(qualifier="visibility", type=GETTER) public ClassificationAttributeVisibilityEnum getVisibility()
      Generated method - Getter of the ClassAttributeAssignment.visibility attribute defined at extension catalog.
      Returns:
      the visibility - Visibility of attribute: visible, not_visible, visible_in_base or visible_in_variant
    • setAttributeType

      @Accessor(qualifier="attributeType", type=SETTER) public void setAttributeType(ClassificationAttributeTypeEnum value)
      Generated method - Setter of ClassAttributeAssignment.attributeType attribute defined at extension catalog.
      Parameters:
      value - the attributeType - Type of attribute: string, number, boolean or range
    • setAttributeValues

      @Accessor(qualifier="attributeValues", type=SETTER) public void setAttributeValues(List<ClassificationAttributeValueModel> value)
      Generated method - Setter of ClassAttributeAssignment.attributeValues attribute defined at extension catalog.
      Parameters:
      value - the attributeValues
    • setClassificationAttribute

      @Accessor(qualifier="classificationAttribute", type=SETTER) public void setClassificationAttribute(ClassificationAttributeModel value)
      Generated method - Initial setter of ClassAttributeAssignment.classificationAttribute attribute defined at extension catalog. Can only be used at creation of model - before first save.
      Parameters:
      value - the classificationAttribute
    • setClassificationClass

      @Accessor(qualifier="classificationClass", type=SETTER) public void setClassificationClass(ClassificationClassModel value)
      Generated method - Setter of ClassAttributeAssignment.classificationClass attribute defined at extension catalog.
      Parameters:
      value - the classificationClass
    • setComparable

      @Accessor(qualifier="comparable", type=SETTER) public void setComparable(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.comparable attribute defined at extension catalog.
      Parameters:
      value - the comparable
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of ClassAttributeAssignment.description attribute defined at extension catalog.
      Parameters:
      value - the description - description of attribute usage
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of ClassAttributeAssignment.description attribute defined at extension catalog.
      Parameters:
      value - the description - description of attribute usage
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setEnableWysiwygEditor

      @Accessor(qualifier="enableWysiwygEditor", type=SETTER) public void setEnableWysiwygEditor(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.enableWysiwygEditor attribute defined at extension platformbackoffice.
      Parameters:
      value - the enableWysiwygEditor
    • setExternalID

      @Accessor(qualifier="externalID", type=SETTER) public void setExternalID(String value)
      Generated method - Setter of ClassAttributeAssignment.externalID attribute defined at extension catalog.
      Parameters:
      value - the externalID - external identifier refering to the actual classification system definition
    • setFormatDefinition

      @Accessor(qualifier="formatDefinition", type=SETTER) public void setFormatDefinition(String value)
      Generated method - Setter of ClassAttributeAssignment.formatDefinition attribute defined at extension catalog.
      Parameters:
      value - the formatDefinition - Format definition string: optionally used e.g. as number format
    • setListable

      @Accessor(qualifier="listable", type=SETTER) public void setListable(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.listable attribute defined at extension catalog.
      Parameters:
      value - the listable
    • setLocalized

      @Accessor(qualifier="localized", type=SETTER) public void setLocalized(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.localized attribute defined at extension catalog.
      Parameters:
      value - the localized
    • setMandatory

      @Accessor(qualifier="mandatory", type=SETTER) public void setMandatory(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.mandatory attribute defined at extension catalog.
      Parameters:
      value - the mandatory
    • setMultiValued

      @Accessor(qualifier="multiValued", type=SETTER) public void setMultiValued(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.multiValued attribute defined at extension catalog.
      Parameters:
      value - the multiValued
    • setPosition

      @Accessor(qualifier="position", type=SETTER) public void setPosition(Integer value)
      Generated method - Setter of ClassAttributeAssignment.position attribute defined at extension catalog.
      Parameters:
      value - the position
    • setRange

      @Accessor(qualifier="range", type=SETTER) public void setRange(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.range attribute defined at extension catalog.
      Parameters:
      value - the range
    • setReferenceIncludesSubTypes

      @Accessor(qualifier="referenceIncludesSubTypes", type=SETTER) public void setReferenceIncludesSubTypes(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.referenceIncludesSubTypes attribute defined at extension catalog.
      Parameters:
      value - the referenceIncludesSubTypes
    • setReferenceType

      @Accessor(qualifier="referenceType", type=SETTER) public void setReferenceType(ComposedTypeModel value)
      Generated method - Setter of ClassAttributeAssignment.referenceType attribute defined at extension catalog.
      Parameters:
      value - the referenceType
    • setSearchable

      @Accessor(qualifier="searchable", type=SETTER) public void setSearchable(Boolean value)
      Generated method - Setter of ClassAttributeAssignment.searchable attribute defined at extension catalog.
      Parameters:
      value - the searchable
    • setSystemVersion

      @Accessor(qualifier="systemVersion", type=SETTER) public void setSystemVersion(ClassificationSystemVersionModel value)
      Generated method - Initial setter of ClassAttributeAssignment.systemVersion attribute defined at extension catalog. Can only be used at creation of model - before first save.
      Parameters:
      value - the systemVersion
    • setUnit

      @Accessor(qualifier="unit", type=SETTER) public void setUnit(ClassificationAttributeUnitModel value)
      Generated method - Setter of ClassAttributeAssignment.unit attribute defined at extension catalog.
      Parameters:
      value - the unit
    • setVisibility

      @Accessor(qualifier="visibility", type=SETTER) public void setVisibility(ClassificationAttributeVisibilityEnum value)
      Generated method - Setter of ClassAttributeAssignment.visibility attribute defined at extension catalog.
      Parameters:
      value - the visibility - Visibility of attribute: visible, not_visible, visible_in_base or visible_in_variant