Class 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
    • 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 _BASESTORE2WAREHOUSEREL
      Generated relation code constant for relation BaseStore2WarehouseRel defining source attribute baseStores in extension commerceservices.
      static java.lang.String _CONSIGNMENTWAREHOUSERELATION
      Generated relation code constant for relation ConsignmentWarehouseRelation defining source attribute consignments in extension basecommerce.
      static java.lang.String _POS2WAREHOUSEREL
      Generated relation code constant for relation PoS2WarehouseRel defining source attribute pointsOfService in extension commerceservices.
      static java.lang.String _STOCKLEVELWAREHOUSERELATION
      Generated relation code constant for relation StockLevelWarehouseRelation defining source attribute stockLevels in extension basecommerce.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String _VENDORWAREHOUSERELATION
      Generated relation code constant for relation VendorWarehouseRelation defining source attribute vendor in extension basecommerce.
      static java.lang.String BASESTORES
      Generated constant - Attribute key of Warehouse.baseStores attribute defined at extension commerceservices.
      static java.lang.String CODE
      Generated constant - Attribute key of Warehouse.code attribute defined at extension basecommerce.
      static java.lang.String CONSIGNMENTS
      Generated constant - Attribute key of Warehouse.consignments attribute defined at extension basecommerce.
      static java.lang.String DEFAULT
      Generated constant - Attribute key of Warehouse.default attribute defined at extension basecommerce.
      static java.lang.String NAME
      Generated constant - Attribute key of Warehouse.name attribute defined at extension basecommerce.
      static java.lang.String POINTSOFSERVICE
      Generated constant - Attribute key of Warehouse.pointsOfService attribute defined at extension commerceservices.
      static java.lang.String STOCKLEVELS
      Generated constant - Attribute key of Warehouse.stockLevels attribute defined at extension basecommerce.
      static java.lang.String VENDOR
      Generated constant - Attribute key of Warehouse.vendor attribute defined at extension basecommerce.
      static java.lang.String VENDORPOS
      Generated constant - Attribute key of Warehouse.vendorPOS attribute defined at extension basecommerce.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • 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 context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<BaseStoreModel> getBaseStores()
      Generated method - Getter of the Warehouse.baseStores attribute defined at extension commerceservices.
      java.lang.String getCode()
      Generated method - Getter of the Warehouse.code attribute defined at extension basecommerce.
      java.util.Set<ConsignmentModel> getConsignments()
      Generated method - Getter of the Warehouse.consignments attribute defined at extension basecommerce.
      java.lang.Boolean getDefault()
      Generated method - Getter of the Warehouse.default attribute defined at extension basecommerce.
      java.lang.String getName()
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      java.util.Collection<PointOfServiceModel> getPointsOfService()
      Generated method - Getter of the Warehouse.pointsOfService attribute defined at extension commerceservices.
      java.util.Set<StockLevelModel> getStockLevels()
      Generated method - Getter of the Warehouse.stockLevels attribute defined at extension basecommerce.
      VendorModel getVendor()
      Generated method - Getter of the Warehouse.vendor attribute defined at extension basecommerce.
      void setBaseStores​(java.util.Collection<BaseStoreModel> value)
      Generated method - Setter of Warehouse.baseStores attribute defined at extension commerceservices.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of Warehouse.code attribute defined at extension basecommerce.
      void setConsignments​(java.util.Set<ConsignmentModel> value)
      Generated method - Setter of Warehouse.consignments attribute defined at extension basecommerce.
      void setDefault​(java.lang.Boolean value)
      Generated method - Initial setter of Warehouse.default attribute defined at extension basecommerce.
      void setName​(java.lang.String value)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      void setPointsOfService​(java.util.Collection<PointOfServiceModel> value)
      Generated method - Setter of Warehouse.pointsOfService attribute defined at extension commerceservices.
      void setStockLevels​(java.util.Set<StockLevelModel> value)
      Generated method - Setter of Warehouse.stockLevels attribute defined at extension basecommerce.
      void setVendor​(VendorModel value)
      Generated method - Initial setter of Warehouse.vendor attribute defined at extension basecommerce.
      • 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
      • _VENDORWAREHOUSERELATION

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

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

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

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

        public static final java.lang.String _BASESTORE2WAREHOUSEREL
        Generated relation code constant for relation BaseStore2WarehouseRel defining source attribute baseStores in extension commerceservices.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

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

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

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

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

        public static final java.lang.String BASESTORES
        Generated constant - Attribute key of Warehouse.baseStores attribute defined at extension commerceservices.
        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 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​(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 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 Detail

      • getBaseStores

        @Accessor(qualifier="baseStores",
                  type=GETTER)
        public java.util.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 java.lang.String getCode()
        Generated method - Getter of the Warehouse.code attribute defined at extension basecommerce.
        Returns:
        the code
      • getConsignments

        @Accessor(qualifier="consignments",
                  type=GETTER)
        public java.util.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 java.lang.Boolean getDefault()
        Generated method - Getter of the Warehouse.default attribute defined at extension basecommerce.
        Returns:
        the default
      • getName

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

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
        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 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 java.util.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​(java.util.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​(java.lang.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​(java.util.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​(java.lang.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
      • setName

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

        @Accessor(qualifier="stockLevels",
                  type=SETTER)
        public void setStockLevels​(java.util.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