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:
Serializable
Generated model class for type Warehouse first defined at extension basecommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.static final StringGenerated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.static final StringGenerated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.static final StringGenerated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.WarehouseModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextWarehouseModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theWarehouse.baseStoresattribute defined at extensioncommerceservices.getCode()Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.consignmentsattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.getName()Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.voidsetBaseStores(Collection<BaseStoreModel> value) Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.voidGenerated method - Initial setter ofWarehouse.codeattribute defined at extensionbasecommerce.voidsetConsignments(Set<ConsignmentModel> value) Generated method - Setter ofWarehouse.consignmentsattribute defined at extensionbasecommerce.voidsetDefault(Boolean value) Generated method - Initial setter ofWarehouse.defaultattribute defined at extensionbasecommerce.voidGenerated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.voidsetStockLevels(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_VENDORWAREHOUSERELATION
Generated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.- See Also:
-
_CONSIGNMENTWAREHOUSERELATION
Generated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.- See Also:
-
_STOCKLEVELWAREHOUSERELATION
Generated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.- See Also:
-
_POS2WAREHOUSEREL
Generated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.- See Also:
-
_BASESTORE2WAREHOUSEREL
Generated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.- See Also:
-
CODE
Generated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.- See Also:
-
NAME
Generated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.- See Also:
-
DEFAULT
Generated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.- See Also:
-
VENDORPOS
Generated constant - Attribute key ofWarehouse.vendorPOSattribute defined at extensionbasecommerce.- See Also:
-
VENDOR
Generated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.- See Also:
-
CONSIGNMENTS
Generated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- See Also:
-
STOCKLEVELS
Generated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- See Also:
-
POINTSOFSERVICE
Generated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- See Also:
-
BASESTORES
Generated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
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(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(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 Details
-
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
Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
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
Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.- Returns:
- the default
-
getName
Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPointsOfService
@Accessor(qualifier="pointsOfService", type=GETTER) public 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
Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the stockLevels
-
getVendor
Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.- Returns:
- the vendor
-
setBaseStores
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Collection<BaseStoreModel> value) Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setCode
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(Set<ConsignmentModel> value) Generated method - Setter ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- Parameters:
value- the consignments
-
setDefault
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
Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPointsOfService
@Accessor(qualifier="pointsOfService", type=SETTER) public void setPointsOfService(Collection<PointOfServiceModel> value) Generated method - Setter ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- Parameters:
value- the pointsOfService
-
setStockLevels
@Accessor(qualifier="stockLevels", type=SETTER) public void setStockLevels(Set<StockLevelModel> value) Generated method - Setter ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- Parameters:
value- the stockLevels
-
setVendor
Generated method - Initial setter ofWarehouse.vendorattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the vendor
-