Class GeneratedStockLevel

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    StockLevel

    public abstract class GeneratedStockLevel
    extends GenericItem
    Generated class for type StockLevel.
    See Also:
    Serialized Form
    • Field Detail

      • PRODUCT

        public static final java.lang.String PRODUCT
        Qualifier of the StockLevel.product attribute
        See Also:
        Constant Field Values
      • AVAILABLE

        public static final java.lang.String AVAILABLE
        Qualifier of the StockLevel.available attribute
        See Also:
        Constant Field Values
      • RELEASEDATE

        public static final java.lang.String RELEASEDATE
        Qualifier of the StockLevel.releaseDate attribute
        See Also:
        Constant Field Values
      • NEXTDELIVERYTIME

        public static final java.lang.String NEXTDELIVERYTIME
        Qualifier of the StockLevel.nextDeliveryTime attribute
        See Also:
        Constant Field Values
      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Qualifier of the StockLevel.productCode attribute
        See Also:
        Constant Field Values
      • RESERVED

        public static final java.lang.String RESERVED
        Qualifier of the StockLevel.reserved attribute
        See Also:
        Constant Field Values
      • OVERSELLING

        public static final java.lang.String OVERSELLING
        Qualifier of the StockLevel.overSelling attribute
        See Also:
        Constant Field Values
      • PREORDER

        public static final java.lang.String PREORDER
        Qualifier of the StockLevel.preOrder attribute
        See Also:
        Constant Field Values
      • MAXPREORDER

        public static final java.lang.String MAXPREORDER
        Qualifier of the StockLevel.maxPreOrder attribute
        See Also:
        Constant Field Values
      • TREATNEGATIVEASZERO

        public static final java.lang.String TREATNEGATIVEASZERO
        Qualifier of the StockLevel.treatNegativeAsZero attribute
        See Also:
        Constant Field Values
      • INSTOCKSTATUS

        public static final java.lang.String INSTOCKSTATUS
        Qualifier of the StockLevel.inStockStatus attribute
        See Also:
        Constant Field Values
      • MAXSTOCKLEVELHISTORYCOUNT

        public static final java.lang.String MAXSTOCKLEVELHISTORYCOUNT
        Qualifier of the StockLevel.maxStockLevelHistoryCount attribute
        See Also:
        Constant Field Values
      • PRODUCTS

        public static final java.lang.String PRODUCTS
        Qualifier of the StockLevel.products attribute
        See Also:
        Constant Field Values
      • STOCKLEVELPRODUCTRELATION_SRC_ORDERED

        protected static java.lang.String STOCKLEVELPRODUCTRELATION_SRC_ORDERED
        Relation ordering override parameter constants for StockLevelProductRelation from ((basecommerce))
      • STOCKLEVELPRODUCTRELATION_TGT_ORDERED

        protected static java.lang.String STOCKLEVELPRODUCTRELATION_TGT_ORDERED
      • STOCKLEVELPRODUCTRELATION_MARKMODIFIED

        protected static java.lang.String STOCKLEVELPRODUCTRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for StockLevelProductRelation from ((basecommerce))
      • WAREHOUSE

        public static final java.lang.String WAREHOUSE
        Qualifier of the StockLevel.warehouse attribute
        See Also:
        Constant Field Values
      • STOCKLEVELHISTORYENTRIES

        public static final java.lang.String STOCKLEVELHISTORYENTRIES
        Qualifier of the StockLevel.stockLevelHistoryEntries attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedStockLevel

        public GeneratedStockLevel()
    • Method Detail

      • getAvailable

        public java.lang.Integer getAvailable​(SessionContext ctx)
        Generated method - Getter of the StockLevel.available attribute.
        Returns:
        the available
      • getAvailable

        public java.lang.Integer getAvailable()
        Generated method - Getter of the StockLevel.available attribute.
        Returns:
        the available
      • getAvailableAsPrimitive

        public int getAvailableAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.available attribute.
        Returns:
        the available
      • getAvailableAsPrimitive

        public int getAvailableAsPrimitive()
        Generated method - Getter of the StockLevel.available attribute.
        Returns:
        the available
      • setAvailable

        public void setAvailable​(SessionContext ctx,
                                 java.lang.Integer value)
        Generated method - Setter of the StockLevel.available attribute.
        Parameters:
        value - the available
      • setAvailable

        public void setAvailable​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.available attribute.
        Parameters:
        value - the available
      • setAvailable

        public void setAvailable​(SessionContext ctx,
                                 int value)
        Generated method - Setter of the StockLevel.available attribute.
        Parameters:
        value - the available
      • setAvailable

        public void setAvailable​(int value)
        Generated method - Setter of the StockLevel.available attribute.
        Parameters:
        value - the available
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getInStockStatus

        public EnumerationValue getInStockStatus​(SessionContext ctx)
        Generated method - Getter of the StockLevel.inStockStatus attribute.
        Returns:
        the inStockStatus
      • getInStockStatus

        public EnumerationValue getInStockStatus()
        Generated method - Getter of the StockLevel.inStockStatus attribute.
        Returns:
        the inStockStatus
      • setInStockStatus

        public void setInStockStatus​(SessionContext ctx,
                                     EnumerationValue value)
        Generated method - Setter of the StockLevel.inStockStatus attribute.
        Parameters:
        value - the inStockStatus
      • setInStockStatus

        public void setInStockStatus​(EnumerationValue value)
        Generated method - Setter of the StockLevel.inStockStatus attribute.
        Parameters:
        value - the inStockStatus
      • getMaxPreOrder

        public java.lang.Integer getMaxPreOrder​(SessionContext ctx)
        Generated method - Getter of the StockLevel.maxPreOrder attribute.
        Returns:
        the maxPreOrder
      • getMaxPreOrder

        public java.lang.Integer getMaxPreOrder()
        Generated method - Getter of the StockLevel.maxPreOrder attribute.
        Returns:
        the maxPreOrder
      • getMaxPreOrderAsPrimitive

        public int getMaxPreOrderAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.maxPreOrder attribute.
        Returns:
        the maxPreOrder
      • getMaxPreOrderAsPrimitive

        public int getMaxPreOrderAsPrimitive()
        Generated method - Getter of the StockLevel.maxPreOrder attribute.
        Returns:
        the maxPreOrder
      • setMaxPreOrder

        public void setMaxPreOrder​(SessionContext ctx,
                                   java.lang.Integer value)
        Generated method - Setter of the StockLevel.maxPreOrder attribute.
        Parameters:
        value - the maxPreOrder
      • setMaxPreOrder

        public void setMaxPreOrder​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.maxPreOrder attribute.
        Parameters:
        value - the maxPreOrder
      • setMaxPreOrder

        public void setMaxPreOrder​(SessionContext ctx,
                                   int value)
        Generated method - Setter of the StockLevel.maxPreOrder attribute.
        Parameters:
        value - the maxPreOrder
      • setMaxPreOrder

        public void setMaxPreOrder​(int value)
        Generated method - Setter of the StockLevel.maxPreOrder attribute.
        Parameters:
        value - the maxPreOrder
      • getMaxStockLevelHistoryCount

        public java.lang.Integer getMaxStockLevelHistoryCount​(SessionContext ctx)
        Generated method - Getter of the StockLevel.maxStockLevelHistoryCount attribute.
        Returns:
        the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • getMaxStockLevelHistoryCount

        public java.lang.Integer getMaxStockLevelHistoryCount()
        Generated method - Getter of the StockLevel.maxStockLevelHistoryCount attribute.
        Returns:
        the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • getMaxStockLevelHistoryCountAsPrimitive

        public int getMaxStockLevelHistoryCountAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.maxStockLevelHistoryCount attribute.
        Returns:
        the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • getMaxStockLevelHistoryCountAsPrimitive

        public int getMaxStockLevelHistoryCountAsPrimitive()
        Generated method - Getter of the StockLevel.maxStockLevelHistoryCount attribute.
        Returns:
        the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • setMaxStockLevelHistoryCount

        public void setMaxStockLevelHistoryCount​(SessionContext ctx,
                                                 java.lang.Integer value)
        Generated method - Setter of the StockLevel.maxStockLevelHistoryCount attribute.
        Parameters:
        value - the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • setMaxStockLevelHistoryCount

        public void setMaxStockLevelHistoryCount​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.maxStockLevelHistoryCount attribute.
        Parameters:
        value - the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • setMaxStockLevelHistoryCount

        public void setMaxStockLevelHistoryCount​(SessionContext ctx,
                                                 int value)
        Generated method - Setter of the StockLevel.maxStockLevelHistoryCount attribute.
        Parameters:
        value - the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • setMaxStockLevelHistoryCount

        public void setMaxStockLevelHistoryCount​(int value)
        Generated method - Setter of the StockLevel.maxStockLevelHistoryCount attribute.
        Parameters:
        value - the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
      • getNextDeliveryTime

        public java.util.Date getNextDeliveryTime​(SessionContext ctx)
        Generated method - Getter of the StockLevel.nextDeliveryTime attribute.
        Returns:
        the nextDeliveryTime
      • getNextDeliveryTime

        public java.util.Date getNextDeliveryTime()
        Generated method - Getter of the StockLevel.nextDeliveryTime attribute.
        Returns:
        the nextDeliveryTime
      • setNextDeliveryTime

        public void setNextDeliveryTime​(SessionContext ctx,
                                        java.util.Date value)
        Generated method - Setter of the StockLevel.nextDeliveryTime attribute.
        Parameters:
        value - the nextDeliveryTime
      • setNextDeliveryTime

        public void setNextDeliveryTime​(java.util.Date value)
        Generated method - Setter of the StockLevel.nextDeliveryTime attribute.
        Parameters:
        value - the nextDeliveryTime
      • getOverSelling

        public java.lang.Integer getOverSelling​(SessionContext ctx)
        Generated method - Getter of the StockLevel.overSelling attribute.
        Returns:
        the overSelling
      • getOverSelling

        public java.lang.Integer getOverSelling()
        Generated method - Getter of the StockLevel.overSelling attribute.
        Returns:
        the overSelling
      • getOverSellingAsPrimitive

        public int getOverSellingAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.overSelling attribute.
        Returns:
        the overSelling
      • getOverSellingAsPrimitive

        public int getOverSellingAsPrimitive()
        Generated method - Getter of the StockLevel.overSelling attribute.
        Returns:
        the overSelling
      • setOverSelling

        public void setOverSelling​(SessionContext ctx,
                                   java.lang.Integer value)
        Generated method - Setter of the StockLevel.overSelling attribute.
        Parameters:
        value - the overSelling
      • setOverSelling

        public void setOverSelling​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.overSelling attribute.
        Parameters:
        value - the overSelling
      • setOverSelling

        public void setOverSelling​(SessionContext ctx,
                                   int value)
        Generated method - Setter of the StockLevel.overSelling attribute.
        Parameters:
        value - the overSelling
      • setOverSelling

        public void setOverSelling​(int value)
        Generated method - Setter of the StockLevel.overSelling attribute.
        Parameters:
        value - the overSelling
      • getPreOrder

        public java.lang.Integer getPreOrder​(SessionContext ctx)
        Generated method - Getter of the StockLevel.preOrder attribute.
        Returns:
        the preOrder
      • getPreOrder

        public java.lang.Integer getPreOrder()
        Generated method - Getter of the StockLevel.preOrder attribute.
        Returns:
        the preOrder
      • getPreOrderAsPrimitive

        public int getPreOrderAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.preOrder attribute.
        Returns:
        the preOrder
      • getPreOrderAsPrimitive

        public int getPreOrderAsPrimitive()
        Generated method - Getter of the StockLevel.preOrder attribute.
        Returns:
        the preOrder
      • setPreOrder

        public void setPreOrder​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the StockLevel.preOrder attribute.
        Parameters:
        value - the preOrder
      • setPreOrder

        public void setPreOrder​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.preOrder attribute.
        Parameters:
        value - the preOrder
      • setPreOrder

        public void setPreOrder​(SessionContext ctx,
                                int value)
        Generated method - Setter of the StockLevel.preOrder attribute.
        Parameters:
        value - the preOrder
      • setPreOrder

        public void setPreOrder​(int value)
        Generated method - Setter of the StockLevel.preOrder attribute.
        Parameters:
        value - the preOrder
      • getProduct

        public abstract Product getProduct​(SessionContext ctx)
        Generated method - Getter of the StockLevel.product attribute.
        Returns:
        the product
      • getProduct

        public Product getProduct()
        Generated method - Getter of the StockLevel.product attribute.
        Returns:
        the product
      • setProduct

        public abstract void setProduct​(SessionContext ctx,
                                        Product value)
        Generated method - Setter of the StockLevel.product attribute.
        Parameters:
        value - the product
      • setProduct

        public void setProduct​(Product value)
        Generated method - Setter of the StockLevel.product attribute.
        Parameters:
        value - the product
      • getProductCode

        public java.lang.String getProductCode​(SessionContext ctx)
        Generated method - Getter of the StockLevel.productCode attribute.
        Returns:
        the productCode
      • getProductCode

        public java.lang.String getProductCode()
        Generated method - Getter of the StockLevel.productCode attribute.
        Returns:
        the productCode
      • setProductCode

        public void setProductCode​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the StockLevel.productCode attribute.
        Parameters:
        value - the productCode
      • setProductCode

        public void setProductCode​(java.lang.String value)
        Generated method - Setter of the StockLevel.productCode attribute.
        Parameters:
        value - the productCode
      • getProducts

        public java.util.Collection<Product> getProducts​(SessionContext ctx)
        Generated method - Getter of the StockLevel.products attribute.
        Returns:
        the products
      • getProducts

        public java.util.Collection<Product> getProducts()
        Generated method - Getter of the StockLevel.products attribute.
        Returns:
        the products
      • getProductsCount

        public long getProductsCount​(SessionContext ctx)
      • getProductsCount

        public long getProductsCount()
      • setProducts

        public void setProducts​(SessionContext ctx,
                                java.util.Collection<Product> value)
        Generated method - Setter of the StockLevel.products attribute.
        Parameters:
        value - the products
      • setProducts

        public void setProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the StockLevel.products attribute.
        Parameters:
        value - the products
      • addToProducts

        public void addToProducts​(SessionContext ctx,
                                  Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products
      • addToProducts

        public void addToProducts​(Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products
      • removeFromProducts

        public void removeFromProducts​(SessionContext ctx,
                                       Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products
      • removeFromProducts

        public void removeFromProducts​(Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products
      • getReleaseDate

        public java.util.Date getReleaseDate​(SessionContext ctx)
        Generated method - Getter of the StockLevel.releaseDate attribute.
        Returns:
        the releaseDate
      • getReleaseDate

        public java.util.Date getReleaseDate()
        Generated method - Getter of the StockLevel.releaseDate attribute.
        Returns:
        the releaseDate
      • setReleaseDate

        public void setReleaseDate​(SessionContext ctx,
                                   java.util.Date value)
        Generated method - Setter of the StockLevel.releaseDate attribute.
        Parameters:
        value - the releaseDate
      • setReleaseDate

        public void setReleaseDate​(java.util.Date value)
        Generated method - Setter of the StockLevel.releaseDate attribute.
        Parameters:
        value - the releaseDate
      • getReserved

        public java.lang.Integer getReserved​(SessionContext ctx)
        Generated method - Getter of the StockLevel.reserved attribute.
        Returns:
        the reserved
      • getReserved

        public java.lang.Integer getReserved()
        Generated method - Getter of the StockLevel.reserved attribute.
        Returns:
        the reserved
      • getReservedAsPrimitive

        public int getReservedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.reserved attribute.
        Returns:
        the reserved
      • getReservedAsPrimitive

        public int getReservedAsPrimitive()
        Generated method - Getter of the StockLevel.reserved attribute.
        Returns:
        the reserved
      • setReserved

        public void setReserved​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the StockLevel.reserved attribute.
        Parameters:
        value - the reserved
      • setReserved

        public void setReserved​(java.lang.Integer value)
        Generated method - Setter of the StockLevel.reserved attribute.
        Parameters:
        value - the reserved
      • setReserved

        public void setReserved​(SessionContext ctx,
                                int value)
        Generated method - Setter of the StockLevel.reserved attribute.
        Parameters:
        value - the reserved
      • setReserved

        public void setReserved​(int value)
        Generated method - Setter of the StockLevel.reserved attribute.
        Parameters:
        value - the reserved
      • getStockLevelHistoryEntries

        public java.util.List<StockLevelHistoryEntry> getStockLevelHistoryEntries​(SessionContext ctx)
        Generated method - Getter of the StockLevel.stockLevelHistoryEntries attribute.
        Returns:
        the stockLevelHistoryEntries
      • getStockLevelHistoryEntries

        public java.util.List<StockLevelHistoryEntry> getStockLevelHistoryEntries()
        Generated method - Getter of the StockLevel.stockLevelHistoryEntries attribute.
        Returns:
        the stockLevelHistoryEntries
      • setStockLevelHistoryEntries

        public void setStockLevelHistoryEntries​(SessionContext ctx,
                                                java.util.List<StockLevelHistoryEntry> value)
        Generated method - Setter of the StockLevel.stockLevelHistoryEntries attribute.
        Parameters:
        value - the stockLevelHistoryEntries
      • setStockLevelHistoryEntries

        public void setStockLevelHistoryEntries​(java.util.List<StockLevelHistoryEntry> value)
        Generated method - Setter of the StockLevel.stockLevelHistoryEntries attribute.
        Parameters:
        value - the stockLevelHistoryEntries
      • addToStockLevelHistoryEntries

        public void addToStockLevelHistoryEntries​(SessionContext ctx,
                                                  StockLevelHistoryEntry value)
        Generated method - Adds value to stockLevelHistoryEntries.
        Parameters:
        value - the item to add to stockLevelHistoryEntries
      • addToStockLevelHistoryEntries

        public void addToStockLevelHistoryEntries​(StockLevelHistoryEntry value)
        Generated method - Adds value to stockLevelHistoryEntries.
        Parameters:
        value - the item to add to stockLevelHistoryEntries
      • removeFromStockLevelHistoryEntries

        public void removeFromStockLevelHistoryEntries​(SessionContext ctx,
                                                       StockLevelHistoryEntry value)
        Generated method - Removes value from stockLevelHistoryEntries.
        Parameters:
        value - the item to remove from stockLevelHistoryEntries
      • removeFromStockLevelHistoryEntries

        public void removeFromStockLevelHistoryEntries​(StockLevelHistoryEntry value)
        Generated method - Removes value from stockLevelHistoryEntries.
        Parameters:
        value - the item to remove from stockLevelHistoryEntries
      • isTreatNegativeAsZero

        public java.lang.Boolean isTreatNegativeAsZero​(SessionContext ctx)
        Generated method - Getter of the StockLevel.treatNegativeAsZero attribute.
        Returns:
        the treatNegativeAsZero
      • isTreatNegativeAsZero

        public java.lang.Boolean isTreatNegativeAsZero()
        Generated method - Getter of the StockLevel.treatNegativeAsZero attribute.
        Returns:
        the treatNegativeAsZero
      • isTreatNegativeAsZeroAsPrimitive

        public boolean isTreatNegativeAsZeroAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StockLevel.treatNegativeAsZero attribute.
        Returns:
        the treatNegativeAsZero
      • isTreatNegativeAsZeroAsPrimitive

        public boolean isTreatNegativeAsZeroAsPrimitive()
        Generated method - Getter of the StockLevel.treatNegativeAsZero attribute.
        Returns:
        the treatNegativeAsZero
      • setTreatNegativeAsZero

        public void setTreatNegativeAsZero​(SessionContext ctx,
                                           java.lang.Boolean value)
        Generated method - Setter of the StockLevel.treatNegativeAsZero attribute.
        Parameters:
        value - the treatNegativeAsZero
      • setTreatNegativeAsZero

        public void setTreatNegativeAsZero​(java.lang.Boolean value)
        Generated method - Setter of the StockLevel.treatNegativeAsZero attribute.
        Parameters:
        value - the treatNegativeAsZero
      • setTreatNegativeAsZero

        public void setTreatNegativeAsZero​(SessionContext ctx,
                                           boolean value)
        Generated method - Setter of the StockLevel.treatNegativeAsZero attribute.
        Parameters:
        value - the treatNegativeAsZero
      • setTreatNegativeAsZero

        public void setTreatNegativeAsZero​(boolean value)
        Generated method - Setter of the StockLevel.treatNegativeAsZero attribute.
        Parameters:
        value - the treatNegativeAsZero
      • getWarehouse

        public Warehouse getWarehouse​(SessionContext ctx)
        Generated method - Getter of the StockLevel.warehouse attribute.
        Returns:
        the warehouse
      • getWarehouse

        public Warehouse getWarehouse()
        Generated method - Getter of the StockLevel.warehouse attribute.
        Returns:
        the warehouse
      • setWarehouse

        protected void setWarehouse​(SessionContext ctx,
                                    Warehouse value)
        Generated method - Setter of the StockLevel.warehouse attribute.
        Parameters:
        value - the warehouse
      • setWarehouse

        protected void setWarehouse​(Warehouse value)
        Generated method - Setter of the StockLevel.warehouse attribute.
        Parameters:
        value - the warehouse