Class GeneratedWarehouseBin

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
WarehouseBin

public abstract class GeneratedWarehouseBin extends GenericItem
Generated class for type WarehouseBin.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedWarehouseBin

      public GeneratedWarehouseBin()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getCode

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

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

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

      public void setCode(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 Set<WarehouseTransferEntry> getDestinationWarehouseTransferEntries(SessionContext ctx)
      Generated method - Getter of the WarehouseBin.destinationWarehouseTransferEntries attribute.
      Returns:
      the destinationWarehouseTransferEntries
    • getDestinationWarehouseTransferEntries

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

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

      public void setDestinationWarehouseTransferEntries(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 Integer getMaxEntries(SessionContext ctx)
      Generated method - Getter of the WarehouseBin.maxEntries attribute.
      Returns:
      the maxEntries
    • getMaxEntries

      public 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, Integer value)
      Generated method - Setter of the WarehouseBin.maxEntries attribute.
      Parameters:
      value - the maxEntries
    • setMaxEntries

      public void setMaxEntries(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 String getPosition(SessionContext ctx)
      Generated method - Getter of the WarehouseBin.position attribute.
      Returns:
      the position
    • getPosition

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

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

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

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

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

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

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

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

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

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

      public void setSourceWarehouseTransferEntries(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 Double getVolume(SessionContext ctx)
      Generated method - Getter of the WarehouseBin.volume attribute.
      Returns:
      the volume
    • getVolume

      public 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, 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
    • 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 Set<WarehouseBinEntry> getWarehouseBinEntries(SessionContext ctx)
      Generated method - Getter of the WarehouseBin.warehouseBinEntries attribute.
      Returns:
      the warehouseBinEntries
    • getWarehouseBinEntries

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

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

      public void setWarehouseBinEntries(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