Class WarehouseModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.ordersplitting.model.WarehouseModel
-
- All Implemented Interfaces:
java.io.Serializable
public class WarehouseModel extends ItemModel
Generated model class for type Warehouse first defined at extension basecommerce.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_BASESTORE2WAREHOUSERELGenerated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.static java.lang.String_CONSIGNMENTWAREHOUSERELATIONGenerated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.static java.lang.String_POS2WAREHOUSERELGenerated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.static java.lang.String_STOCKLEVELWAREHOUSERELATIONGenerated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.String_VENDORWAREHOUSERELATIONGenerated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.static java.lang.StringBASESTORESGenerated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.static java.lang.StringCODEGenerated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.static java.lang.StringCONSIGNMENTSGenerated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.static java.lang.StringDEFAULTGenerated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.static java.lang.StringNAMEGenerated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.static java.lang.StringPOINTSOFSERVICEGenerated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.static java.lang.StringSTOCKLEVELSGenerated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.static java.lang.StringVENDORGenerated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.static java.lang.StringVENDORPOSGenerated constant - Attribute key ofWarehouse.vendorPOSattribute defined at extensionbasecommerce.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description WarehouseModel()Generated constructor - Default constructor for generic creation.WarehouseModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextWarehouseModel(java.lang.String _code, ItemModel _owner, VendorModel _vendor)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersWarehouseModel(java.lang.String _code, VendorModel _vendor)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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<BaseStoreModel>getBaseStores()Generated method - Getter of theWarehouse.baseStoresattribute defined at extensioncommerceservices.java.lang.StringgetCode()Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.java.util.Set<ConsignmentModel>getConsignments()Generated method - Getter of theWarehouse.consignmentsattribute defined at extensionbasecommerce.java.lang.BooleangetDefault()Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.java.lang.StringgetName()Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.java.util.Collection<PointOfServiceModel>getPointsOfService()Generated method - Getter of theWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.java.util.Set<StockLevelModel>getStockLevels()Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce.VendorModelgetVendor()Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.voidsetBaseStores(java.util.Collection<BaseStoreModel> value)Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofWarehouse.codeattribute defined at extensionbasecommerce.voidsetConsignments(java.util.Set<ConsignmentModel> value)Generated method - Setter ofWarehouse.consignmentsattribute defined at extensionbasecommerce.voidsetDefault(java.lang.Boolean value)Generated method - Initial setter ofWarehouse.defaultattribute defined at extensionbasecommerce.voidsetName(java.lang.String value)Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidsetPointsOfService(java.util.Collection<PointOfServiceModel> value)Generated method - Setter ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.voidsetStockLevels(java.util.Set<StockLevelModel> value)Generated method - Setter ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.voidsetVendor(VendorModel value)Generated method - Initial setter ofWarehouse.vendorattribute defined at extensionbasecommerce.-
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
-
_VENDORWAREHOUSERELATION
public static final java.lang.String _VENDORWAREHOUSERELATION
Generated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.- See Also:
- Constant Field Values
-
_CONSIGNMENTWAREHOUSERELATION
public static final java.lang.String _CONSIGNMENTWAREHOUSERELATION
Generated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.- See Also:
- Constant Field Values
-
_STOCKLEVELWAREHOUSERELATION
public static final java.lang.String _STOCKLEVELWAREHOUSERELATION
Generated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.- See Also:
- Constant Field Values
-
_POS2WAREHOUSEREL
public static final java.lang.String _POS2WAREHOUSEREL
Generated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.- See Also:
- Constant Field Values
-
_BASESTORE2WAREHOUSEREL
public static final java.lang.String _BASESTORE2WAREHOUSEREL
Generated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
Generated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
VENDORPOS
public static final java.lang.String VENDORPOS
Generated constant - Attribute key ofWarehouse.vendorPOSattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
VENDOR
public static final java.lang.String VENDOR
Generated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CONSIGNMENTS
public static final java.lang.String CONSIGNMENTS
Generated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
STOCKLEVELS
public static final java.lang.String STOCKLEVELS
Generated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
POINTSOFSERVICE
public static final java.lang.String POINTSOFSERVICE
Generated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WarehouseModel
public WarehouseModel()
Generated constructor - Default constructor for generic creation.
-
WarehouseModel
public WarehouseModel(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
-
WarehouseModel
@Deprecated(since="4.1.1", forRemoval=true) public WarehouseModel(java.lang.String _code, VendorModel _vendor)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:
_code- initial attribute declared by typeWarehouseat extensionbasecommerce_vendor- initial attribute declared by typeWarehouseat extensionbasecommerce
-
WarehouseModel
@Deprecated(since="4.1.1", forRemoval=true) public WarehouseModel(java.lang.String _code, ItemModel _owner, VendorModel _vendor)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:
_code- initial attribute declared by typeWarehouseat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_vendor- initial attribute declared by typeWarehouseat extensionbasecommerce
-
-
Method Detail
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Collection<BaseStoreModel> getBaseStores()Generated method - Getter of theWarehouse.baseStoresattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
getConsignments
@Accessor(qualifier="consignments", type=GETTER) public java.util.Set<ConsignmentModel> getConsignments()Generated method - Getter of theWarehouse.consignmentsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the consignments
-
getDefault
@Accessor(qualifier="default", type=GETTER) public java.lang.Boolean getDefault()Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.- Returns:
- the default
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getPointsOfService
@Accessor(qualifier="pointsOfService", type=GETTER) public java.util.Collection<PointOfServiceModel> getPointsOfService()Generated method - Getter of theWarehouse.pointsOfServiceattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pointsOfService
-
getStockLevels
@Accessor(qualifier="stockLevels", type=GETTER) public java.util.Set<StockLevelModel> getStockLevels()Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the stockLevels
-
getVendor
@Accessor(qualifier="vendor", type=GETTER) public VendorModel getVendor()Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.- Returns:
- the vendor
-
setBaseStores
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(java.util.Collection<BaseStoreModel> value)Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)Generated method - Initial setter ofWarehouse.codeattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the code
-
setConsignments
@Accessor(qualifier="consignments", type=SETTER) public void setConsignments(java.util.Set<ConsignmentModel> value)Generated method - Setter ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- Parameters:
value- the consignments
-
setDefault
@Accessor(qualifier="default", type=SETTER) public void setDefault(java.lang.Boolean value)Generated method - Initial setter ofWarehouse.defaultattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the default
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setPointsOfService
@Accessor(qualifier="pointsOfService", type=SETTER) public void setPointsOfService(java.util.Collection<PointOfServiceModel> value)Generated method - Setter ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- Parameters:
value- the pointsOfService
-
setStockLevels
@Accessor(qualifier="stockLevels", type=SETTER) public void setStockLevels(java.util.Set<StockLevelModel> value)Generated method - Setter ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- Parameters:
value- the stockLevels
-
setVendor
@Accessor(qualifier="vendor", type=SETTER) public void setVendor(VendorModel value)Generated method - Initial setter ofWarehouse.vendorattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the vendor
-
-