Class ClassificationAttributeUnitModel

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

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

    • _TYPECODE

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

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

      public static final String CODE
      Generated constant - Attribute key of ClassificationAttributeUnit.code attribute defined at extension catalog.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of ClassificationAttributeUnit.name attribute defined at extension catalog.
      See Also:
    • EXTERNALID

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

      public static final String SYMBOL
      Generated constant - Attribute key of ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      See Also:
    • UNITTYPE

      public static final String UNITTYPE
      Generated constant - Attribute key of ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      See Also:
    • CONVERSIONFACTOR

      public static final String CONVERSIONFACTOR
      Generated constant - Attribute key of ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      See Also:
    • CONVERTIBLEUNITS

      public static final String CONVERTIBLEUNITS
      Generated constant - Attribute key of ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.
      See Also:
  • Constructor Details

    • ClassificationAttributeUnitModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ClassificationAttributeUnitModel(String _code, String _symbol, 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 - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type ClassificationAttributeUnit at extension catalog
      _symbol - initial attribute declared by type ClassificationAttributeUnit at extension catalog
      _systemVersion - initial attribute declared by type ClassificationAttributeUnit at extension catalog
    • ClassificationAttributeUnitModel

      @Deprecated(since="4.1.1", forRemoval=true) public ClassificationAttributeUnitModel(String _code, ItemModel _owner, String _symbol, 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:
      _code - initial attribute declared by type ClassificationAttributeUnit at extension catalog
      _owner - initial attribute declared by type Item at extension core
      _symbol - initial attribute declared by type ClassificationAttributeUnit at extension catalog
      _systemVersion - initial attribute declared by type ClassificationAttributeUnit at extension catalog
  • Method Details

    • getCode

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

      @Accessor(qualifier="conversionFactor", type=GETTER) public Double getConversionFactor()
      Generated method - Getter of the ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      Returns:
      the conversionFactor - Conversion factor
    • getConvertibleUnits

      @Accessor(qualifier="convertibleUnits", type=GETTER) public Set<ClassificationAttributeUnitModel> getConvertibleUnits()
      Generated method - Getter of the ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the convertibleUnits - Convertible units
    • getExternalID

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

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the ClassificationAttributeUnit.name attribute defined at extension catalog.
      Returns:
      the name - optional localized name of this class
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the ClassificationAttributeUnit.name attribute defined at extension catalog.
      Parameters:
      loc - the value localization key
      Returns:
      the name - optional localized name of this class
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getSymbol

      @Accessor(qualifier="symbol", type=GETTER) public String getSymbol()
      Generated method - Getter of the ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      Returns:
      the symbol - Symbol
    • getSystemVersion

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

      @Accessor(qualifier="unitType", type=GETTER) public String getUnitType()
      Generated method - Getter of the ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      Returns:
      the unitType - Unit type
    • setCode

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

      @Accessor(qualifier="conversionFactor", type=SETTER) public void setConversionFactor(Double value)
      Generated method - Setter of ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      Parameters:
      value - the conversionFactor - Conversion factor
    • setExternalID

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

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of ClassificationAttributeUnit.name attribute defined at extension catalog.
      Parameters:
      value - the name - optional localized name of this class
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of ClassificationAttributeUnit.name attribute defined at extension catalog.
      Parameters:
      value - the name - optional localized name of this class
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setSymbol

      @Accessor(qualifier="symbol", type=SETTER) public void setSymbol(String value)
      Generated method - Setter of ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      Parameters:
      value - the symbol - Symbol
    • setSystemVersion

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

      @Accessor(qualifier="unitType", type=SETTER) public void setUnitType(String value)
      Generated method - Setter of ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      Parameters:
      value - the unitType - Unit type