Class GeneratedWarehouseBin

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the WarehouseBin.code attribute
        See Also:
        Constant Field Values
      • VOLUME

        public static final java.lang.String VOLUME
        Qualifier of the WarehouseBin.volume attribute
        See Also:
        Constant Field Values
      • MAXENTRIES

        public static final java.lang.String MAXENTRIES
        Qualifier of the WarehouseBin.maxEntries attribute
        See Also:
        Constant Field Values
      • ROW

        public static final java.lang.String ROW
        Qualifier of the WarehouseBin.row attribute
        See Also:
        Constant Field Values
      • POSITION

        public static final java.lang.String POSITION
        Qualifier of the WarehouseBin.position attribute
        See Also:
        Constant Field Values
      • WAREHOUSE

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

        public static final java.lang.String WAREHOUSEBINENTRIES
        Qualifier of the WarehouseBin.warehouseBinEntries attribute
        See Also:
        Constant Field Values
      • SOURCEWAREHOUSETRANSFERENTRIES

        public static final java.lang.String SOURCEWAREHOUSETRANSFERENTRIES
        Qualifier of the WarehouseBin.sourceWarehouseTransferEntries attribute
        See Also:
        Constant Field Values
      • DESTINATIONWAREHOUSETRANSFERENTRIES

        public static final java.lang.String DESTINATIONWAREHOUSETRANSFERENTRIES
        Qualifier of the WarehouseBin.destinationWarehouseTransferEntries 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

      • GeneratedWarehouseBin

        public GeneratedWarehouseBin()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the WarehouseBin.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the WarehouseBin.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the WarehouseBin.code attribute.
        Parameters:
        value - the code
      • 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
      • getDestinationWarehouseTransferEntries

        public java.util.Set<WarehouseTransferEntry> getDestinationWarehouseTransferEntries​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.destinationWarehouseTransferEntries attribute.
        Returns:
        the destinationWarehouseTransferEntries
      • getDestinationWarehouseTransferEntries

        public java.util.Set<WarehouseTransferEntry> getDestinationWarehouseTransferEntries()
        Generated method - Getter of the WarehouseBin.destinationWarehouseTransferEntries attribute.
        Returns:
        the destinationWarehouseTransferEntries
      • setDestinationWarehouseTransferEntries

        public void setDestinationWarehouseTransferEntries​(SessionContext ctx,
                                                           java.util.Set<WarehouseTransferEntry> value)
        Generated method - Setter of the WarehouseBin.destinationWarehouseTransferEntries attribute.
        Parameters:
        value - the destinationWarehouseTransferEntries
      • setDestinationWarehouseTransferEntries

        public void setDestinationWarehouseTransferEntries​(java.util.Set<WarehouseTransferEntry> value)
        Generated method - Setter of the WarehouseBin.destinationWarehouseTransferEntries attribute.
        Parameters:
        value - the destinationWarehouseTransferEntries
      • addToDestinationWarehouseTransferEntries

        public void addToDestinationWarehouseTransferEntries​(SessionContext ctx,
                                                             WarehouseTransferEntry value)
        Generated method - Adds value to destinationWarehouseTransferEntries.
        Parameters:
        value - the item to add to destinationWarehouseTransferEntries
      • addToDestinationWarehouseTransferEntries

        public void addToDestinationWarehouseTransferEntries​(WarehouseTransferEntry value)
        Generated method - Adds value to destinationWarehouseTransferEntries.
        Parameters:
        value - the item to add to destinationWarehouseTransferEntries
      • removeFromDestinationWarehouseTransferEntries

        public void removeFromDestinationWarehouseTransferEntries​(SessionContext ctx,
                                                                  WarehouseTransferEntry value)
        Generated method - Removes value from destinationWarehouseTransferEntries.
        Parameters:
        value - the item to remove from destinationWarehouseTransferEntries
      • removeFromDestinationWarehouseTransferEntries

        public void removeFromDestinationWarehouseTransferEntries​(WarehouseTransferEntry value)
        Generated method - Removes value from destinationWarehouseTransferEntries.
        Parameters:
        value - the item to remove from destinationWarehouseTransferEntries
      • getMaxEntries

        public java.lang.Integer getMaxEntries​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.maxEntries attribute.
        Returns:
        the maxEntries
      • getMaxEntries

        public java.lang.Integer getMaxEntries()
        Generated method - Getter of the WarehouseBin.maxEntries attribute.
        Returns:
        the maxEntries
      • getMaxEntriesAsPrimitive

        public int getMaxEntriesAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.maxEntries attribute.
        Returns:
        the maxEntries
      • getMaxEntriesAsPrimitive

        public int getMaxEntriesAsPrimitive()
        Generated method - Getter of the WarehouseBin.maxEntries attribute.
        Returns:
        the maxEntries
      • setMaxEntries

        public void setMaxEntries​(SessionContext ctx,
                                  java.lang.Integer value)
        Generated method - Setter of the WarehouseBin.maxEntries attribute.
        Parameters:
        value - the maxEntries
      • setMaxEntries

        public void setMaxEntries​(java.lang.Integer value)
        Generated method - Setter of the WarehouseBin.maxEntries attribute.
        Parameters:
        value - the maxEntries
      • setMaxEntries

        public void setMaxEntries​(SessionContext ctx,
                                  int value)
        Generated method - Setter of the WarehouseBin.maxEntries attribute.
        Parameters:
        value - the maxEntries
      • setMaxEntries

        public void setMaxEntries​(int value)
        Generated method - Setter of the WarehouseBin.maxEntries attribute.
        Parameters:
        value - the maxEntries
      • getPosition

        public java.lang.String getPosition​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.position attribute.
        Returns:
        the position
      • getPosition

        public java.lang.String getPosition()
        Generated method - Getter of the WarehouseBin.position attribute.
        Returns:
        the position
      • setPosition

        public void setPosition​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the WarehouseBin.position attribute.
        Parameters:
        value - the position
      • setPosition

        public void setPosition​(java.lang.String value)
        Generated method - Setter of the WarehouseBin.position attribute.
        Parameters:
        value - the position
      • getRow

        public java.lang.String getRow​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.row attribute.
        Returns:
        the row
      • getRow

        public java.lang.String getRow()
        Generated method - Getter of the WarehouseBin.row attribute.
        Returns:
        the row
      • setRow

        public void setRow​(SessionContext ctx,
                           java.lang.String value)
        Generated method - Setter of the WarehouseBin.row attribute.
        Parameters:
        value - the row
      • setRow

        public void setRow​(java.lang.String value)
        Generated method - Setter of the WarehouseBin.row attribute.
        Parameters:
        value - the row
      • getSourceWarehouseTransferEntries

        public java.util.Set<WarehouseTransferEntry> getSourceWarehouseTransferEntries​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.sourceWarehouseTransferEntries attribute.
        Returns:
        the sourceWarehouseTransferEntries
      • getSourceWarehouseTransferEntries

        public java.util.Set<WarehouseTransferEntry> getSourceWarehouseTransferEntries()
        Generated method - Getter of the WarehouseBin.sourceWarehouseTransferEntries attribute.
        Returns:
        the sourceWarehouseTransferEntries
      • setSourceWarehouseTransferEntries

        public void setSourceWarehouseTransferEntries​(SessionContext ctx,
                                                      java.util.Set<WarehouseTransferEntry> value)
        Generated method - Setter of the WarehouseBin.sourceWarehouseTransferEntries attribute.
        Parameters:
        value - the sourceWarehouseTransferEntries
      • setSourceWarehouseTransferEntries

        public void setSourceWarehouseTransferEntries​(java.util.Set<WarehouseTransferEntry> value)
        Generated method - Setter of the WarehouseBin.sourceWarehouseTransferEntries attribute.
        Parameters:
        value - the sourceWarehouseTransferEntries
      • addToSourceWarehouseTransferEntries

        public void addToSourceWarehouseTransferEntries​(SessionContext ctx,
                                                        WarehouseTransferEntry value)
        Generated method - Adds value to sourceWarehouseTransferEntries.
        Parameters:
        value - the item to add to sourceWarehouseTransferEntries
      • addToSourceWarehouseTransferEntries

        public void addToSourceWarehouseTransferEntries​(WarehouseTransferEntry value)
        Generated method - Adds value to sourceWarehouseTransferEntries.
        Parameters:
        value - the item to add to sourceWarehouseTransferEntries
      • removeFromSourceWarehouseTransferEntries

        public void removeFromSourceWarehouseTransferEntries​(SessionContext ctx,
                                                             WarehouseTransferEntry value)
        Generated method - Removes value from sourceWarehouseTransferEntries.
        Parameters:
        value - the item to remove from sourceWarehouseTransferEntries
      • removeFromSourceWarehouseTransferEntries

        public void removeFromSourceWarehouseTransferEntries​(WarehouseTransferEntry value)
        Generated method - Removes value from sourceWarehouseTransferEntries.
        Parameters:
        value - the item to remove from sourceWarehouseTransferEntries
      • getVolume

        public java.lang.Double getVolume​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.volume attribute.
        Returns:
        the volume
      • getVolume

        public java.lang.Double getVolume()
        Generated method - Getter of the WarehouseBin.volume attribute.
        Returns:
        the volume
      • getVolumeAsPrimitive

        public double getVolumeAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.volume attribute.
        Returns:
        the volume
      • getVolumeAsPrimitive

        public double getVolumeAsPrimitive()
        Generated method - Getter of the WarehouseBin.volume attribute.
        Returns:
        the volume
      • setVolume

        public void setVolume​(SessionContext ctx,
                              java.lang.Double value)
        Generated method - Setter of the WarehouseBin.volume attribute.
        Parameters:
        value - the volume
      • setVolume

        public void setVolume​(java.lang.Double value)
        Generated method - Setter of the WarehouseBin.volume attribute.
        Parameters:
        value - the volume
      • setVolume

        public void setVolume​(SessionContext ctx,
                              double value)
        Generated method - Setter of the WarehouseBin.volume attribute.
        Parameters:
        value - the volume
      • setVolume

        public void setVolume​(double value)
        Generated method - Setter of the WarehouseBin.volume attribute.
        Parameters:
        value - the volume
      • getWarehouse

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

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

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

        public void setWarehouse​(Warehouse value)
        Generated method - Setter of the WarehouseBin.warehouse attribute.
        Parameters:
        value - the warehouse
      • getWarehouseBinEntries

        public java.util.Set<WarehouseBinEntry> getWarehouseBinEntries​(SessionContext ctx)
        Generated method - Getter of the WarehouseBin.warehouseBinEntries attribute.
        Returns:
        the warehouseBinEntries
      • getWarehouseBinEntries

        public java.util.Set<WarehouseBinEntry> getWarehouseBinEntries()
        Generated method - Getter of the WarehouseBin.warehouseBinEntries attribute.
        Returns:
        the warehouseBinEntries
      • setWarehouseBinEntries

        public void setWarehouseBinEntries​(SessionContext ctx,
                                           java.util.Set<WarehouseBinEntry> value)
        Generated method - Setter of the WarehouseBin.warehouseBinEntries attribute.
        Parameters:
        value - the warehouseBinEntries
      • setWarehouseBinEntries

        public void setWarehouseBinEntries​(java.util.Set<WarehouseBinEntry> value)
        Generated method - Setter of the WarehouseBin.warehouseBinEntries attribute.
        Parameters:
        value - the warehouseBinEntries
      • addToWarehouseBinEntries

        public void addToWarehouseBinEntries​(SessionContext ctx,
                                             WarehouseBinEntry value)
        Generated method - Adds value to warehouseBinEntries.
        Parameters:
        value - the item to add to warehouseBinEntries
      • addToWarehouseBinEntries

        public void addToWarehouseBinEntries​(WarehouseBinEntry value)
        Generated method - Adds value to warehouseBinEntries.
        Parameters:
        value - the item to add to warehouseBinEntries
      • removeFromWarehouseBinEntries

        public void removeFromWarehouseBinEntries​(SessionContext ctx,
                                                  WarehouseBinEntry value)
        Generated method - Removes value from warehouseBinEntries.
        Parameters:
        value - the item to remove from warehouseBinEntries
      • removeFromWarehouseBinEntries

        public void removeFromWarehouseBinEntries​(WarehouseBinEntry value)
        Generated method - Removes value from warehouseBinEntries.
        Parameters:
        value - the item to remove from warehouseBinEntries