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
    • 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 SAPCODE
      Generated constant - Attribute key of ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.
      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.
    • 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
      • SAPCODE

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

      • 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​(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
      • getSapCode

        @Accessor(qualifier="sapCode",
                  type=GETTER)
        public java.lang.String getSapCode()
        Generated method - Getter of the ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.
        Returns:
        the sapCode - SAP Code (ERP Table T006 field MSEHI)
      • 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
      • 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
      • setSapCode

        @Accessor(qualifier="sapCode",
                  type=SETTER)
        public void setSapCode​(java.lang.String value)
        Generated method - Setter of ClassificationAttributeUnit.sapCode attribute defined at extension sapmodel.
        Parameters:
        value - the sapCode - SAP Code (ERP Table T006 field MSEHI)
      • 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