Class ClassificationAttributeUnitModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClassificationAttributeUnitModel
    extends ItemModel
    Generated model class for type ClassificationAttributeUnit first defined at extension catalog.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of ClassificationAttributeUnit.code attribute defined at extension catalog.
      static java.lang.String CONVERSIONFACTOR
      Generated constant - Attribute key of ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      static java.lang.String CONVERTIBLEUNITS
      Generated constant - Attribute key of ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.
      static java.lang.String EXTERNALID
      Generated constant - Attribute key of ClassificationAttributeUnit.externalID attribute defined at extension catalog.
      static java.lang.String NAME
      Generated constant - Attribute key of ClassificationAttributeUnit.name attribute defined at extension catalog.
      static java.lang.String SYMBOL
      Generated constant - Attribute key of ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      static java.lang.String SYSTEMVERSION
      Generated constant - Attribute key of ClassificationAttributeUnit.systemVersion attribute defined at extension catalog.
      static java.lang.String UNITTYPE
      Generated constant - Attribute key of ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Generated method - Getter of the ClassificationAttributeUnit.code attribute defined at extension catalog.
      java.lang.Double getConversionFactor()
      Generated method - Getter of the ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      java.util.Set<ClassificationAttributeUnitModel> getConvertibleUnits()
      Generated method - Getter of the ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.
      java.lang.String getExternalID()
      Generated method - Getter of the ClassificationAttributeUnit.externalID attribute defined at extension catalog.
      java.lang.String getName()
      Generated method - Getter of the ClassificationAttributeUnit.name attribute defined at extension catalog.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the ClassificationAttributeUnit.name attribute defined at extension catalog.
      java.lang.String getSymbol()
      Generated method - Getter of the ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      ClassificationSystemVersionModel getSystemVersion()
      Generated method - Getter of the ClassificationAttributeUnit.systemVersion attribute defined at extension catalog.
      java.lang.String getUnitType()
      Generated method - Getter of the ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      void setCode​(java.lang.String value)
      Generated method - Setter of ClassificationAttributeUnit.code attribute defined at extension catalog.
      void setConversionFactor​(java.lang.Double value)
      Generated method - Setter of ClassificationAttributeUnit.conversionFactor attribute defined at extension catalog.
      void setExternalID​(java.lang.String value)
      Generated method - Setter of ClassificationAttributeUnit.externalID attribute defined at extension catalog.
      void setName​(java.lang.String value)
      Generated method - Setter of ClassificationAttributeUnit.name attribute defined at extension catalog.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of ClassificationAttributeUnit.name attribute defined at extension catalog.
      void setSymbol​(java.lang.String value)
      Generated method - Setter of ClassificationAttributeUnit.symbol attribute defined at extension catalog.
      void setSystemVersion​(ClassificationSystemVersionModel value)
      Generated method - Initial setter of ClassificationAttributeUnit.systemVersion attribute defined at extension catalog.
      void setUnitType​(java.lang.String value)
      Generated method - Setter of ClassificationAttributeUnit.unitType attribute defined at extension catalog.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • SYSTEMVERSION

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

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

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

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

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

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

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

        public static final java.lang.String CONVERTIBLEUNITS
        Generated constant - Attribute key of ClassificationAttributeUnit.convertibleUnits attribute defined at extension catalog.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClassificationAttributeUnitModel

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

        public ClassificationAttributeUnitModel​(de.hybris.platform.servicelayer.model.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​(java.lang.String _code,
                                                java.lang.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​(java.lang.String _code,
                                                ItemModel _owner,
                                                java.lang.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 Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.util.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 java.lang.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 java.lang.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 java.lang.String getName​(java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getSymbol

        @Accessor(qualifier="symbol",
                  type=GETTER)
        public java.lang.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.String value,
                            java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setSymbol

        @Accessor(qualifier="symbol",
                  type=SETTER)
        public void setSymbol​(java.lang.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​(java.lang.String value)
        Generated method - Setter of ClassificationAttributeUnit.unitType attribute defined at extension catalog.
        Parameters:
        value - the unitType - Unit type