Class StockLevelHistoryEntryModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class StockLevelHistoryEntryModel
    extends ItemModel
    Generated model class for type StockLevelHistoryEntry first defined at extension basecommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION

        public static final java.lang.String _STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION
        Generated relation code constant for relation StockLevelStockLevelHistoryEntryRelation defining source attribute stockLevel in extension basecommerce.
        See Also:
        Constant Field Values
      • UPDATEDATE

        public static final java.lang.String UPDATEDATE
        Generated constant - Attribute key of StockLevelHistoryEntry.updateDate attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • ACTUAL

        public static final java.lang.String ACTUAL
        Generated constant - Attribute key of StockLevelHistoryEntry.actual attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • RESERVED

        public static final java.lang.String RESERVED
        Generated constant - Attribute key of StockLevelHistoryEntry.reserved attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • UPDATETYPE

        public static final java.lang.String UPDATETYPE
        Generated constant - Attribute key of StockLevelHistoryEntry.updateType attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        Generated constant - Attribute key of StockLevelHistoryEntry.comment attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • STOCKLEVELPOS

        public static final java.lang.String STOCKLEVELPOS
        Generated constant - Attribute key of StockLevelHistoryEntry.stockLevelPOS attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • STOCKLEVEL

        public static final java.lang.String STOCKLEVEL
        Generated constant - Attribute key of StockLevelHistoryEntry.stockLevel attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StockLevelHistoryEntryModel

        public StockLevelHistoryEntryModel()
        Generated constructor - Default constructor for generic creation.
      • StockLevelHistoryEntryModel

        public StockLevelHistoryEntryModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • StockLevelHistoryEntryModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public StockLevelHistoryEntryModel​(int _actual,
                                           int _reserved,
                                           StockLevelModel _stockLevel,
                                           java.util.Date _updateDate)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _actual - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _reserved - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _stockLevel - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _updateDate - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
      • StockLevelHistoryEntryModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public StockLevelHistoryEntryModel​(int _actual,
                                           ItemModel _owner,
                                           int _reserved,
                                           StockLevelModel _stockLevel,
                                           java.util.Date _updateDate)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _actual - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _owner - initial attribute declared by type Item at extension core
        _reserved - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _stockLevel - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
        _updateDate - initial attribute declared by type StockLevelHistoryEntry at extension basecommerce
    • Method Detail

      • getActual

        @Accessor(qualifier="actual",
                  type=GETTER)
        public int getActual()
        Generated method - Getter of the StockLevelHistoryEntry.actual attribute defined at extension basecommerce.
        Returns:
        the actual
      • getComment

        @Accessor(qualifier="comment",
                  type=GETTER)
        public java.lang.String getComment()
        Generated method - Getter of the StockLevelHistoryEntry.comment attribute defined at extension basecommerce.
        Returns:
        the comment
      • getReserved

        @Accessor(qualifier="reserved",
                  type=GETTER)
        public int getReserved()
        Generated method - Getter of the StockLevelHistoryEntry.reserved attribute defined at extension basecommerce.
        Returns:
        the reserved
      • getStockLevel

        @Accessor(qualifier="stockLevel",
                  type=GETTER)
        public StockLevelModel getStockLevel()
        Generated method - Getter of the StockLevelHistoryEntry.stockLevel attribute defined at extension basecommerce.
        Returns:
        the stockLevel
      • getUpdateDate

        @Accessor(qualifier="updateDate",
                  type=GETTER)
        public java.util.Date getUpdateDate()
        Generated method - Getter of the StockLevelHistoryEntry.updateDate attribute defined at extension basecommerce.
        Returns:
        the updateDate
      • getUpdateType

        @Accessor(qualifier="updateType",
                  type=GETTER)
        public StockLevelUpdateType getUpdateType()
        Generated method - Getter of the StockLevelHistoryEntry.updateType attribute defined at extension basecommerce.
        Returns:
        the updateType
      • setActual

        @Accessor(qualifier="actual",
                  type=SETTER)
        public void setActual​(int value)
        Generated method - Setter of StockLevelHistoryEntry.actual attribute defined at extension basecommerce.
        Parameters:
        value - the actual
      • setComment

        @Accessor(qualifier="comment",
                  type=SETTER)
        public void setComment​(java.lang.String value)
        Generated method - Setter of StockLevelHistoryEntry.comment attribute defined at extension basecommerce.
        Parameters:
        value - the comment
      • setReserved

        @Accessor(qualifier="reserved",
                  type=SETTER)
        public void setReserved​(int value)
        Generated method - Setter of StockLevelHistoryEntry.reserved attribute defined at extension basecommerce.
        Parameters:
        value - the reserved
      • setStockLevel

        @Accessor(qualifier="stockLevel",
                  type=SETTER)
        public void setStockLevel​(StockLevelModel value)
        Generated method - Initial setter of StockLevelHistoryEntry.stockLevel attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
        Parameters:
        value - the stockLevel
      • setUpdateDate

        @Accessor(qualifier="updateDate",
                  type=SETTER)
        public void setUpdateDate​(java.util.Date value)
        Generated method - Setter of StockLevelHistoryEntry.updateDate attribute defined at extension basecommerce.
        Parameters:
        value - the updateDate
      • setUpdateType

        @Accessor(qualifier="updateType",
                  type=SETTER)
        public void setUpdateType​(StockLevelUpdateType value)
        Generated method - Setter of StockLevelHistoryEntry.updateType attribute defined at extension basecommerce.
        Parameters:
        value - the updateType