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
Direct Known Subclasses:
AccommodationOfferingModel, AccommodationServiceWarehouseModel, TransportOfferingModel

public class WarehouseModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation BaseStore2WarehouseRel defining source attribute baseStores in extension commerceservices.
    static final String
    Generated relation code constant for relation ConsignmentWarehouseRelation defining source attribute consignments in extension basecommerce.
    static final String
    Generated relation code constant for relation DeliveryProviderWarehouseRelation defining source attribute deliveryProvider in extension oneorderservices.
    static final String
    Generated relation code constant for relation PoS2WarehouseRel defining source attribute pointsOfService in extension commerceservices.
    static final String
    Generated relation code constant for relation StockLevelWarehouseRelation defining source attribute stockLevels in extension basecommerce.
    static final String
    Generated model type code constant.
    static final String
    Generated relation code constant for relation VendorWarehouseRelation defining source attribute vendor in extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.baseStores attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Warehouse.code attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.consignments attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.default attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.deliveryProvider attribute defined at extension oneorderservices.
    static final String
    Generated constant - Attribute key of Warehouse.name attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.pointsOfService attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Warehouse.stockLevels attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.vendor attribute defined at extension basecommerce.
    static final String
    Generated constant - Attribute key of Warehouse.vendorPOS attribute defined at extension basecommerce.

    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
    Generated constructor - Default constructor for generic creation.
    WarehouseModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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 parameters
    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 Type
    Method
    Description
    Generated method - Getter of the Warehouse.baseStores attribute defined at extension commerceservices.
    Generated method - Getter of the Warehouse.code attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.consignments attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.default attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.deliveryProvider attribute defined at extension oneorderservices.
    Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.pointsOfService attribute defined at extension commerceservices.
    Generated method - Getter of the Warehouse.stockLevels attribute defined at extension basecommerce.
    Generated method - Getter of the Warehouse.vendor attribute defined at extension basecommerce.
    void
    Generated method - Setter of Warehouse.baseStores attribute defined at extension commerceservices.
    void
    setCode(String value)
    Generated method - Initial setter of Warehouse.code attribute defined at extension basecommerce.
    void
    Generated method - Setter of Warehouse.consignments attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Warehouse.default attribute defined at extension basecommerce.
    void
    Generated method - Setter of Warehouse.deliveryProvider attribute defined at extension oneorderservices.
    void
    setName(String value)
    Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
    void
    setName(String value, Locale loc)
    Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
    void
    Generated method - Setter of Warehouse.pointsOfService attribute defined at extension commerceservices.
    void
    Generated method - Setter of Warehouse.stockLevels attribute defined at extension basecommerce.
    void
    Generated method - Initial setter of Warehouse.vendor attribute defined at extension basecommerce.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _VENDORWAREHOUSERELATION

      public static final String _VENDORWAREHOUSERELATION
      Generated relation code constant for relation VendorWarehouseRelation defining source attribute vendor in extension basecommerce.
      See Also:
    • _CONSIGNMENTWAREHOUSERELATION

      public static final String _CONSIGNMENTWAREHOUSERELATION
      Generated relation code constant for relation ConsignmentWarehouseRelation defining source attribute consignments in extension basecommerce.
      See Also:
    • _STOCKLEVELWAREHOUSERELATION

      public static final String _STOCKLEVELWAREHOUSERELATION
      Generated relation code constant for relation StockLevelWarehouseRelation defining source attribute stockLevels in extension basecommerce.
      See Also:
    • _POS2WAREHOUSEREL

      public static final String _POS2WAREHOUSEREL
      Generated relation code constant for relation PoS2WarehouseRel defining source attribute pointsOfService in extension commerceservices.
      See Also:
    • _BASESTORE2WAREHOUSEREL

      public static final String _BASESTORE2WAREHOUSEREL
      Generated relation code constant for relation BaseStore2WarehouseRel defining source attribute baseStores in extension commerceservices.
      See Also:
    • _DELIVERYPROVIDERWAREHOUSERELATION

      public static final String _DELIVERYPROVIDERWAREHOUSERELATION
      Generated relation code constant for relation DeliveryProviderWarehouseRelation defining source attribute deliveryProvider in extension oneorderservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of Warehouse.code attribute defined at extension basecommerce.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of Warehouse.name attribute defined at extension basecommerce.
      See Also:
    • DEFAULT

      public static final String DEFAULT
      Generated constant - Attribute key of Warehouse.default attribute defined at extension basecommerce.
      See Also:
    • VENDORPOS

      public static final String VENDORPOS
      Generated constant - Attribute key of Warehouse.vendorPOS attribute defined at extension basecommerce.
      See Also:
    • VENDOR

      public static final String VENDOR
      Generated constant - Attribute key of Warehouse.vendor attribute defined at extension basecommerce.
      See Also:
    • CONSIGNMENTS

      public static final String CONSIGNMENTS
      Generated constant - Attribute key of Warehouse.consignments attribute defined at extension basecommerce.
      See Also:
    • STOCKLEVELS

      public static final String STOCKLEVELS
      Generated constant - Attribute key of Warehouse.stockLevels attribute defined at extension basecommerce.
      See Also:
    • POINTSOFSERVICE

      public static final String POINTSOFSERVICE
      Generated constant - Attribute key of Warehouse.pointsOfService attribute defined at extension commerceservices.
      See Also:
    • BASESTORES

      public static final String BASESTORES
      Generated constant - Attribute key of Warehouse.baseStores attribute defined at extension commerceservices.
      See Also:
    • DELIVERYPROVIDER

      public static final String DELIVERYPROVIDER
      Generated constant - Attribute key of Warehouse.deliveryProvider attribute defined at extension oneorderservices.
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
  • Method Details

    • getBaseStores

      @Accessor(qualifier="baseStores", type=GETTER) public Collection<BaseStoreModel> getBaseStores()
      Generated method - Getter of the Warehouse.baseStores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the baseStores
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the Warehouse.code attribute defined at extension basecommerce.
      Returns:
      the code
    • getConsignments

      @Accessor(qualifier="consignments", type=GETTER) public Set<ConsignmentModel> getConsignments()
      Generated method - Getter of the Warehouse.consignments attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the consignments
    • getDefault

      @Accessor(qualifier="default", type=GETTER) public Boolean getDefault()
      Generated method - Getter of the Warehouse.default attribute defined at extension basecommerce.
      Returns:
      the default
    • getDeliveryProvider

      @Accessor(qualifier="deliveryProvider", type=GETTER) public DeliveryProviderModel getDeliveryProvider()
      Generated method - Getter of the Warehouse.deliveryProvider attribute defined at extension oneorderservices.
      Returns:
      the deliveryProvider
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      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 the Warehouse.pointsOfService attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the pointsOfService
    • getStockLevels

      @Accessor(qualifier="stockLevels", type=GETTER) public Set<StockLevelModel> getStockLevels()
      Generated method - Getter of the Warehouse.stockLevels attribute defined at extension basecommerce. 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 the Warehouse.vendor attribute defined at extension basecommerce.
      Returns:
      the vendor
    • setBaseStores

      @Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Collection<BaseStoreModel> value)
      Generated method - Setter of Warehouse.baseStores attribute defined at extension commerceservices.
      Parameters:
      value - the baseStores
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Initial setter of Warehouse.code attribute defined at extension basecommerce. 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 of Warehouse.consignments attribute defined at extension basecommerce.
      Parameters:
      value - the consignments
    • setDefault

      @Accessor(qualifier="default", type=SETTER) public void setDefault(Boolean value)
      Generated method - Initial setter of Warehouse.default attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the default
    • setDeliveryProvider

      @Accessor(qualifier="deliveryProvider", type=SETTER) public void setDeliveryProvider(DeliveryProviderModel value)
      Generated method - Setter of Warehouse.deliveryProvider attribute defined at extension oneorderservices.
      Parameters:
      value - the deliveryProvider
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
      loc - 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 of Warehouse.pointsOfService attribute defined at extension commerceservices.
      Parameters:
      value - the pointsOfService
    • setStockLevels

      @Accessor(qualifier="stockLevels", type=SETTER) public void setStockLevels(Set<StockLevelModel> value)
      Generated method - Setter of Warehouse.stockLevels attribute defined at extension basecommerce.
      Parameters:
      value - the stockLevels
    • setVendor

      @Accessor(qualifier="vendor", type=SETTER) public void setVendor(VendorModel value)
      Generated method - Initial setter of Warehouse.vendor attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the vendor