Class GeneratedStockLevelHistoryEntry

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

public abstract class GeneratedStockLevelHistoryEntry extends GenericItem
Generated class for type StockLevelHistoryEntry.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedStockLevelHistoryEntry

      public GeneratedStockLevelHistoryEntry()
  • Method Details

    • getDefaultAttributeModes

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

      public Integer getActual(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.actual attribute.
      Returns:
      the actual
    • getActual

      public Integer getActual()
      Generated method - Getter of the StockLevelHistoryEntry.actual attribute.
      Returns:
      the actual
    • getActualAsPrimitive

      public int getActualAsPrimitive(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.actual attribute.
      Returns:
      the actual
    • getActualAsPrimitive

      public int getActualAsPrimitive()
      Generated method - Getter of the StockLevelHistoryEntry.actual attribute.
      Returns:
      the actual
    • setActual

      public void setActual(SessionContext ctx, Integer value)
      Generated method - Setter of the StockLevelHistoryEntry.actual attribute.
      Parameters:
      value - the actual
    • setActual

      public void setActual(Integer value)
      Generated method - Setter of the StockLevelHistoryEntry.actual attribute.
      Parameters:
      value - the actual
    • setActual

      public void setActual(SessionContext ctx, int value)
      Generated method - Setter of the StockLevelHistoryEntry.actual attribute.
      Parameters:
      value - the actual
    • setActual

      public void setActual(int value)
      Generated method - Setter of the StockLevelHistoryEntry.actual attribute.
      Parameters:
      value - the actual
    • getComment

      public String getComment(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.comment attribute.
      Returns:
      the comment
    • getComment

      public String getComment()
      Generated method - Getter of the StockLevelHistoryEntry.comment attribute.
      Returns:
      the comment
    • setComment

      public void setComment(SessionContext ctx, String value)
      Generated method - Setter of the StockLevelHistoryEntry.comment attribute.
      Parameters:
      value - the comment
    • setComment

      public void setComment(String value)
      Generated method - Setter of the StockLevelHistoryEntry.comment attribute.
      Parameters:
      value - the comment
    • 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
    • getReserved

      public Integer getReserved(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.reserved attribute.
      Returns:
      the reserved
    • getReserved

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

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

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

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

      public void setReserved(Integer value)
      Generated method - Setter of the StockLevelHistoryEntry.reserved attribute.
      Parameters:
      value - the reserved
    • setReserved

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

      public void setReserved(int value)
      Generated method - Setter of the StockLevelHistoryEntry.reserved attribute.
      Parameters:
      value - the reserved
    • getStockLevel

      public StockLevel getStockLevel(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.stockLevel attribute.
      Returns:
      the stockLevel
    • getStockLevel

      public StockLevel getStockLevel()
      Generated method - Getter of the StockLevelHistoryEntry.stockLevel attribute.
      Returns:
      the stockLevel
    • setStockLevel

      protected void setStockLevel(SessionContext ctx, StockLevel value)
      Generated method - Setter of the StockLevelHistoryEntry.stockLevel attribute.
      Parameters:
      value - the stockLevel
    • setStockLevel

      protected void setStockLevel(StockLevel value)
      Generated method - Setter of the StockLevelHistoryEntry.stockLevel attribute.
      Parameters:
      value - the stockLevel
    • getUpdateDate

      public Date getUpdateDate(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.updateDate attribute.
      Returns:
      the updateDate
    • getUpdateDate

      public Date getUpdateDate()
      Generated method - Getter of the StockLevelHistoryEntry.updateDate attribute.
      Returns:
      the updateDate
    • setUpdateDate

      public void setUpdateDate(SessionContext ctx, Date value)
      Generated method - Setter of the StockLevelHistoryEntry.updateDate attribute.
      Parameters:
      value - the updateDate
    • setUpdateDate

      public void setUpdateDate(Date value)
      Generated method - Setter of the StockLevelHistoryEntry.updateDate attribute.
      Parameters:
      value - the updateDate
    • getUpdateType

      public EnumerationValue getUpdateType(SessionContext ctx)
      Generated method - Getter of the StockLevelHistoryEntry.updateType attribute.
      Returns:
      the updateType
    • getUpdateType

      public EnumerationValue getUpdateType()
      Generated method - Getter of the StockLevelHistoryEntry.updateType attribute.
      Returns:
      the updateType
    • setUpdateType

      public void setUpdateType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the StockLevelHistoryEntry.updateType attribute.
      Parameters:
      value - the updateType
    • setUpdateType

      public void setUpdateType(EnumerationValue value)
      Generated method - Setter of the StockLevelHistoryEntry.updateType attribute.
      Parameters:
      value - the updateType