Class PackagingInfoModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PackagingInfoModel
    extends ItemModel
    Generated model class for type PackagingInfo first defined at extension warehousing.

    Represents the attributes of packages in a consignment.

    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 _CONSIGNMENT2PACKAGINGINFORELATION
      Generated relation code constant for relation Consignment2PackagingInfoRelation defining source attribute consignment in extension warehousing.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CONSIGNMENT
      Generated constant - Attribute key of PackagingInfo.consignment attribute defined at extension warehousing.
      static java.lang.String CONSIGNMENTPOS
      Generated constant - Attribute key of PackagingInfo.consignmentPOS attribute defined at extension warehousing.
      static java.lang.String DIMENSIONUNIT
      Generated constant - Attribute key of PackagingInfo.dimensionUnit attribute defined at extension warehousing.
      static java.lang.String GROSSWEIGHT
      Generated constant - Attribute key of PackagingInfo.grossWeight attribute defined at extension warehousing.
      static java.lang.String HEIGHT
      Generated constant - Attribute key of PackagingInfo.height attribute defined at extension warehousing.
      static java.lang.String INSUREDVALUE
      Generated constant - Attribute key of PackagingInfo.insuredValue attribute defined at extension warehousing.
      static java.lang.String LENGTH
      Generated constant - Attribute key of PackagingInfo.length attribute defined at extension warehousing.
      static java.lang.String WEIGHTUNIT
      Generated constant - Attribute key of PackagingInfo.weightUnit attribute defined at extension warehousing.
      static java.lang.String WIDTH
      Generated constant - Attribute key of PackagingInfo.width attribute defined at extension warehousing.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      PackagingInfoModel()
      Generated constructor - Default constructor for generic creation.
      PackagingInfoModel​(ConsignmentModel _consignment)
      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
      PackagingInfoModel​(ConsignmentModel _consignment, ItemModel _owner)
      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
      PackagingInfoModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConsignmentModel getConsignment()
      Generated method - Getter of the PackagingInfo.consignment attribute defined at extension warehousing.
      java.lang.String getDimensionUnit()
      Generated method - Getter of the PackagingInfo.dimensionUnit attribute defined at extension warehousing.
      java.lang.String getGrossWeight()
      Generated method - Getter of the PackagingInfo.grossWeight attribute defined at extension warehousing.
      java.lang.String getHeight()
      Generated method - Getter of the PackagingInfo.height attribute defined at extension warehousing.
      java.lang.String getInsuredValue()
      Generated method - Getter of the PackagingInfo.insuredValue attribute defined at extension warehousing.
      java.lang.String getLength()
      Generated method - Getter of the PackagingInfo.length attribute defined at extension warehousing.
      java.lang.String getWeightUnit()
      Generated method - Getter of the PackagingInfo.weightUnit attribute defined at extension warehousing.
      java.lang.String getWidth()
      Generated method - Getter of the PackagingInfo.width attribute defined at extension warehousing.
      void setConsignment​(ConsignmentModel value)
      Generated method - Initial setter of PackagingInfo.consignment attribute defined at extension warehousing.
      void setDimensionUnit​(java.lang.String value)
      Generated method - Setter of PackagingInfo.dimensionUnit attribute defined at extension warehousing.
      void setGrossWeight​(java.lang.String value)
      Generated method - Setter of PackagingInfo.grossWeight attribute defined at extension warehousing.
      void setHeight​(java.lang.String value)
      Generated method - Setter of PackagingInfo.height attribute defined at extension warehousing.
      void setInsuredValue​(java.lang.String value)
      Generated method - Setter of PackagingInfo.insuredValue attribute defined at extension warehousing.
      void setLength​(java.lang.String value)
      Generated method - Setter of PackagingInfo.length attribute defined at extension warehousing.
      void setWeightUnit​(java.lang.String value)
      Generated method - Setter of PackagingInfo.weightUnit attribute defined at extension warehousing.
      void setWidth​(java.lang.String value)
      Generated method - Setter of PackagingInfo.width attribute defined at extension warehousing.
      • 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
      • _CONSIGNMENT2PACKAGINGINFORELATION

        public static final java.lang.String _CONSIGNMENT2PACKAGINGINFORELATION
        Generated relation code constant for relation Consignment2PackagingInfoRelation defining source attribute consignment in extension warehousing.
        See Also:
        Constant Field Values
      • WIDTH

        public static final java.lang.String WIDTH
        Generated constant - Attribute key of PackagingInfo.width attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • HEIGHT

        public static final java.lang.String HEIGHT
        Generated constant - Attribute key of PackagingInfo.height attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • LENGTH

        public static final java.lang.String LENGTH
        Generated constant - Attribute key of PackagingInfo.length attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • GROSSWEIGHT

        public static final java.lang.String GROSSWEIGHT
        Generated constant - Attribute key of PackagingInfo.grossWeight attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • DIMENSIONUNIT

        public static final java.lang.String DIMENSIONUNIT
        Generated constant - Attribute key of PackagingInfo.dimensionUnit attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • WEIGHTUNIT

        public static final java.lang.String WEIGHTUNIT
        Generated constant - Attribute key of PackagingInfo.weightUnit attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • INSUREDVALUE

        public static final java.lang.String INSUREDVALUE
        Generated constant - Attribute key of PackagingInfo.insuredValue attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • CONSIGNMENTPOS

        public static final java.lang.String CONSIGNMENTPOS
        Generated constant - Attribute key of PackagingInfo.consignmentPOS attribute defined at extension warehousing.
        See Also:
        Constant Field Values
      • CONSIGNMENT

        public static final java.lang.String CONSIGNMENT
        Generated constant - Attribute key of PackagingInfo.consignment attribute defined at extension warehousing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PackagingInfoModel

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

        public PackagingInfoModel​(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
      • PackagingInfoModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PackagingInfoModel​(ConsignmentModel _consignment)
        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:
        _consignment - initial attribute declared by type PackagingInfo at extension warehousing
      • PackagingInfoModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PackagingInfoModel​(ConsignmentModel _consignment,
                                  ItemModel _owner)
        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:
        _consignment - initial attribute declared by type PackagingInfo at extension warehousing
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getConsignment

        @Accessor(qualifier="consignment",
                  type=GETTER)
        public ConsignmentModel getConsignment()
        Generated method - Getter of the PackagingInfo.consignment attribute defined at extension warehousing.
        Returns:
        the consignment
      • getDimensionUnit

        @Accessor(qualifier="dimensionUnit",
                  type=GETTER)
        public java.lang.String getDimensionUnit()
        Generated method - Getter of the PackagingInfo.dimensionUnit attribute defined at extension warehousing.
        Returns:
        the dimensionUnit
      • getGrossWeight

        @Accessor(qualifier="grossWeight",
                  type=GETTER)
        public java.lang.String getGrossWeight()
        Generated method - Getter of the PackagingInfo.grossWeight attribute defined at extension warehousing.
        Returns:
        the grossWeight
      • getHeight

        @Accessor(qualifier="height",
                  type=GETTER)
        public java.lang.String getHeight()
        Generated method - Getter of the PackagingInfo.height attribute defined at extension warehousing.
        Returns:
        the height
      • getInsuredValue

        @Accessor(qualifier="insuredValue",
                  type=GETTER)
        public java.lang.String getInsuredValue()
        Generated method - Getter of the PackagingInfo.insuredValue attribute defined at extension warehousing.
        Returns:
        the insuredValue
      • getLength

        @Accessor(qualifier="length",
                  type=GETTER)
        public java.lang.String getLength()
        Generated method - Getter of the PackagingInfo.length attribute defined at extension warehousing.
        Returns:
        the length
      • getWeightUnit

        @Accessor(qualifier="weightUnit",
                  type=GETTER)
        public java.lang.String getWeightUnit()
        Generated method - Getter of the PackagingInfo.weightUnit attribute defined at extension warehousing.
        Returns:
        the weightUnit
      • getWidth

        @Accessor(qualifier="width",
                  type=GETTER)
        public java.lang.String getWidth()
        Generated method - Getter of the PackagingInfo.width attribute defined at extension warehousing.
        Returns:
        the width
      • setConsignment

        @Accessor(qualifier="consignment",
                  type=SETTER)
        public void setConsignment​(ConsignmentModel value)
        Generated method - Initial setter of PackagingInfo.consignment attribute defined at extension warehousing. Can only be used at creation of model - before first save.
        Parameters:
        value - the consignment
      • setDimensionUnit

        @Accessor(qualifier="dimensionUnit",
                  type=SETTER)
        public void setDimensionUnit​(java.lang.String value)
        Generated method - Setter of PackagingInfo.dimensionUnit attribute defined at extension warehousing.
        Parameters:
        value - the dimensionUnit
      • setGrossWeight

        @Accessor(qualifier="grossWeight",
                  type=SETTER)
        public void setGrossWeight​(java.lang.String value)
        Generated method - Setter of PackagingInfo.grossWeight attribute defined at extension warehousing.
        Parameters:
        value - the grossWeight
      • setHeight

        @Accessor(qualifier="height",
                  type=SETTER)
        public void setHeight​(java.lang.String value)
        Generated method - Setter of PackagingInfo.height attribute defined at extension warehousing.
        Parameters:
        value - the height
      • setInsuredValue

        @Accessor(qualifier="insuredValue",
                  type=SETTER)
        public void setInsuredValue​(java.lang.String value)
        Generated method - Setter of PackagingInfo.insuredValue attribute defined at extension warehousing.
        Parameters:
        value - the insuredValue
      • setLength

        @Accessor(qualifier="length",
                  type=SETTER)
        public void setLength​(java.lang.String value)
        Generated method - Setter of PackagingInfo.length attribute defined at extension warehousing.
        Parameters:
        value - the length
      • setWeightUnit

        @Accessor(qualifier="weightUnit",
                  type=SETTER)
        public void setWeightUnit​(java.lang.String value)
        Generated method - Setter of PackagingInfo.weightUnit attribute defined at extension warehousing.
        Parameters:
        value - the weightUnit
      • setWidth

        @Accessor(qualifier="width",
                  type=SETTER)
        public void setWidth​(java.lang.String value)
        Generated method - Setter of PackagingInfo.width attribute defined at extension warehousing.
        Parameters:
        value - the width