Class GeneratedStockLevelHistoryEntry

    • Field Detail

      • UPDATEDATE

        public static final java.lang.String UPDATEDATE
        Qualifier of the StockLevelHistoryEntry.updateDate attribute
        See Also:
        Constant Field Values
      • ACTUAL

        public static final java.lang.String ACTUAL
        Qualifier of the StockLevelHistoryEntry.actual attribute
        See Also:
        Constant Field Values
      • RESERVED

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

        public static final java.lang.String UPDATETYPE
        Qualifier of the StockLevelHistoryEntry.updateType attribute
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        Qualifier of the StockLevelHistoryEntry.comment attribute
        See Also:
        Constant Field Values
      • STOCKLEVELPOS

        public static final java.lang.String STOCKLEVELPOS
        Qualifier of the StockLevelHistoryEntry.stockLevelPOS attribute
        See Also:
        Constant Field Values
      • STOCKLEVEL

        public static final java.lang.String STOCKLEVEL
        Qualifier of the StockLevelHistoryEntry.stockLevel 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

      • GeneratedStockLevelHistoryEntry

        public GeneratedStockLevelHistoryEntry()
    • Method Detail

      • getActual

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

        public java.lang.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,
                              java.lang.Integer value)
        Generated method - Setter of the StockLevelHistoryEntry.actual attribute.
        Parameters:
        value - the actual
      • setActual

        public void setActual​(java.lang.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 java.lang.String getComment​(SessionContext ctx)
        Generated method - Getter of the StockLevelHistoryEntry.comment attribute.
        Returns:
        the comment
      • getComment

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

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

        public void setComment​(java.lang.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 java.lang.Integer getReserved​(SessionContext ctx)
        Generated method - Getter of the StockLevelHistoryEntry.reserved attribute.
        Returns:
        the reserved
      • getReserved

        public java.lang.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,
                                java.lang.Integer value)
        Generated method - Setter of the StockLevelHistoryEntry.reserved attribute.
        Parameters:
        value - the reserved
      • setReserved

        public void setReserved​(java.lang.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 java.util.Date getUpdateDate​(SessionContext ctx)
        Generated method - Getter of the StockLevelHistoryEntry.updateDate attribute.
        Returns:
        the updateDate
      • getUpdateDate

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

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

        public void setUpdateDate​(java.util.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