Class PackagingInfoModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.warehousing.model.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
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CONSIGNMENT2PACKAGINGINFORELATIONGenerated relation code constant for relationConsignment2PackagingInfoRelationdefining source attributeconsignmentin extensionwarehousing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCONSIGNMENTGenerated constant - Attribute key ofPackagingInfo.consignmentattribute defined at extensionwarehousing.static java.lang.StringCONSIGNMENTPOSGenerated constant - Attribute key ofPackagingInfo.consignmentPOSattribute defined at extensionwarehousing.static java.lang.StringDIMENSIONUNITGenerated constant - Attribute key ofPackagingInfo.dimensionUnitattribute defined at extensionwarehousing.static java.lang.StringGROSSWEIGHTGenerated constant - Attribute key ofPackagingInfo.grossWeightattribute defined at extensionwarehousing.static java.lang.StringHEIGHTGenerated constant - Attribute key ofPackagingInfo.heightattribute defined at extensionwarehousing.static java.lang.StringINSUREDVALUEGenerated constant - Attribute key ofPackagingInfo.insuredValueattribute defined at extensionwarehousing.static java.lang.StringLENGTHGenerated constant - Attribute key ofPackagingInfo.lengthattribute defined at extensionwarehousing.static java.lang.StringWEIGHTUNITGenerated constant - Attribute key ofPackagingInfo.weightUnitattribute defined at extensionwarehousing.static java.lang.StringWIDTHGenerated constant - Attribute key ofPackagingInfo.widthattribute defined at extensionwarehousing.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
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 parametersPackagingInfoModel(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 parametersPackagingInfoModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsignmentModelgetConsignment()Generated method - Getter of thePackagingInfo.consignmentattribute defined at extensionwarehousing.java.lang.StringgetDimensionUnit()Generated method - Getter of thePackagingInfo.dimensionUnitattribute defined at extensionwarehousing.java.lang.StringgetGrossWeight()Generated method - Getter of thePackagingInfo.grossWeightattribute defined at extensionwarehousing.java.lang.StringgetHeight()Generated method - Getter of thePackagingInfo.heightattribute defined at extensionwarehousing.java.lang.StringgetInsuredValue()Generated method - Getter of thePackagingInfo.insuredValueattribute defined at extensionwarehousing.java.lang.StringgetLength()Generated method - Getter of thePackagingInfo.lengthattribute defined at extensionwarehousing.java.lang.StringgetWeightUnit()Generated method - Getter of thePackagingInfo.weightUnitattribute defined at extensionwarehousing.java.lang.StringgetWidth()Generated method - Getter of thePackagingInfo.widthattribute defined at extensionwarehousing.voidsetConsignment(ConsignmentModel value)Generated method - Initial setter ofPackagingInfo.consignmentattribute defined at extensionwarehousing.voidsetDimensionUnit(java.lang.String value)Generated method - Setter ofPackagingInfo.dimensionUnitattribute defined at extensionwarehousing.voidsetGrossWeight(java.lang.String value)Generated method - Setter ofPackagingInfo.grossWeightattribute defined at extensionwarehousing.voidsetHeight(java.lang.String value)Generated method - Setter ofPackagingInfo.heightattribute defined at extensionwarehousing.voidsetInsuredValue(java.lang.String value)Generated method - Setter ofPackagingInfo.insuredValueattribute defined at extensionwarehousing.voidsetLength(java.lang.String value)Generated method - Setter ofPackagingInfo.lengthattribute defined at extensionwarehousing.voidsetWeightUnit(java.lang.String value)Generated method - Setter ofPackagingInfo.weightUnitattribute defined at extensionwarehousing.voidsetWidth(java.lang.String value)Generated method - Setter ofPackagingInfo.widthattribute defined at extensionwarehousing.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 relationConsignment2PackagingInfoRelationdefining source attributeconsignmentin extensionwarehousing.- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
Generated constant - Attribute key ofPackagingInfo.widthattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT
Generated constant - Attribute key ofPackagingInfo.heightattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
LENGTH
public static final java.lang.String LENGTH
Generated constant - Attribute key ofPackagingInfo.lengthattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
GROSSWEIGHT
public static final java.lang.String GROSSWEIGHT
Generated constant - Attribute key ofPackagingInfo.grossWeightattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
DIMENSIONUNIT
public static final java.lang.String DIMENSIONUNIT
Generated constant - Attribute key ofPackagingInfo.dimensionUnitattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
WEIGHTUNIT
public static final java.lang.String WEIGHTUNIT
Generated constant - Attribute key ofPackagingInfo.weightUnitattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
INSUREDVALUE
public static final java.lang.String INSUREDVALUE
Generated constant - Attribute key ofPackagingInfo.insuredValueattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
CONSIGNMENTPOS
public static final java.lang.String CONSIGNMENTPOS
Generated constant - Attribute key ofPackagingInfo.consignmentPOSattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
CONSIGNMENT
public static final java.lang.String CONSIGNMENT
Generated constant - Attribute key ofPackagingInfo.consignmentattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PackagingInfoModel
public PackagingInfoModel()
Generated constructor - Default constructor for generic creation.
-
PackagingInfoModel
public PackagingInfoModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_consignment- initial attribute declared by typePackagingInfoat extensionwarehousing
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_consignment- initial attribute declared by typePackagingInfoat extensionwarehousing_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getConsignment
@Accessor(qualifier="consignment", type=GETTER) public ConsignmentModel getConsignment()
Generated method - Getter of thePackagingInfo.consignmentattribute defined at extensionwarehousing.- Returns:
- the consignment
-
getDimensionUnit
@Accessor(qualifier="dimensionUnit", type=GETTER) public java.lang.String getDimensionUnit()
Generated method - Getter of thePackagingInfo.dimensionUnitattribute defined at extensionwarehousing.- Returns:
- the dimensionUnit
-
getGrossWeight
@Accessor(qualifier="grossWeight", type=GETTER) public java.lang.String getGrossWeight()
Generated method - Getter of thePackagingInfo.grossWeightattribute defined at extensionwarehousing.- Returns:
- the grossWeight
-
getHeight
@Accessor(qualifier="height", type=GETTER) public java.lang.String getHeight()
Generated method - Getter of thePackagingInfo.heightattribute defined at extensionwarehousing.- Returns:
- the height
-
getInsuredValue
@Accessor(qualifier="insuredValue", type=GETTER) public java.lang.String getInsuredValue()
Generated method - Getter of thePackagingInfo.insuredValueattribute defined at extensionwarehousing.- Returns:
- the insuredValue
-
getLength
@Accessor(qualifier="length", type=GETTER) public java.lang.String getLength()
Generated method - Getter of thePackagingInfo.lengthattribute defined at extensionwarehousing.- Returns:
- the length
-
getWeightUnit
@Accessor(qualifier="weightUnit", type=GETTER) public java.lang.String getWeightUnit()
Generated method - Getter of thePackagingInfo.weightUnitattribute defined at extensionwarehousing.- Returns:
- the weightUnit
-
getWidth
@Accessor(qualifier="width", type=GETTER) public java.lang.String getWidth()
Generated method - Getter of thePackagingInfo.widthattribute defined at extensionwarehousing.- Returns:
- the width
-
setConsignment
@Accessor(qualifier="consignment", type=SETTER) public void setConsignment(ConsignmentModel value)
Generated method - Initial setter ofPackagingInfo.consignmentattribute defined at extensionwarehousing. 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 ofPackagingInfo.dimensionUnitattribute defined at extensionwarehousing.- Parameters:
value- the dimensionUnit
-
setGrossWeight
@Accessor(qualifier="grossWeight", type=SETTER) public void setGrossWeight(java.lang.String value)
Generated method - Setter ofPackagingInfo.grossWeightattribute defined at extensionwarehousing.- Parameters:
value- the grossWeight
-
setHeight
@Accessor(qualifier="height", type=SETTER) public void setHeight(java.lang.String value)
Generated method - Setter ofPackagingInfo.heightattribute defined at extensionwarehousing.- Parameters:
value- the height
-
setInsuredValue
@Accessor(qualifier="insuredValue", type=SETTER) public void setInsuredValue(java.lang.String value)
Generated method - Setter ofPackagingInfo.insuredValueattribute defined at extensionwarehousing.- Parameters:
value- the insuredValue
-
setLength
@Accessor(qualifier="length", type=SETTER) public void setLength(java.lang.String value)
Generated method - Setter ofPackagingInfo.lengthattribute defined at extensionwarehousing.- Parameters:
value- the length
-
setWeightUnit
@Accessor(qualifier="weightUnit", type=SETTER) public void setWeightUnit(java.lang.String value)
Generated method - Setter ofPackagingInfo.weightUnitattribute defined at extensionwarehousing.- Parameters:
value- the weightUnit
-
-