Class AtpFormulaModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.warehousing.model.AtpFormulaModel
All Implemented Interfaces:
Serializable

public class AtpFormulaModel extends ItemModel
Generated model class for type AtpFormula first defined at extension warehousing.

Represents the attributes of an ATP formula.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation BaseStore2AtpFormulaRelation defining source attribute baseStores in extension warehousing.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of AtpFormula.allocation attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.availability attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.baseStores attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.cancellation attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.code attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.external attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.formulaString attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.increase attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.reserved attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.returned attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.shrinkage attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of AtpFormula.wastage attribute defined at extension warehousing.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    AtpFormulaModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the AtpFormula.allocation attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.availability attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.baseStores attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.cancellation attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.code attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.external attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.formulaString dynamic attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.increase attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.reserved attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.returned attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.shrinkage attribute defined at extension warehousing.
    Generated method - Getter of the AtpFormula.wastage attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.allocation attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.availability attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.baseStores attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.cancellation attribute defined at extension warehousing.
    void
    setCode(String value)
    Generated method - Setter of AtpFormula.code attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.external attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.increase attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.reserved attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.returned attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.shrinkage attribute defined at extension warehousing.
    void
    Generated method - Setter of AtpFormula.wastage attribute defined at extension warehousing.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _BASESTORE2ATPFORMULARELATION

      public static final String _BASESTORE2ATPFORMULARELATION
      Generated relation code constant for relation BaseStore2AtpFormulaRelation defining source attribute baseStores in extension warehousing.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of AtpFormula.code attribute defined at extension warehousing.
      See Also:
    • AVAILABILITY

      public static final String AVAILABILITY
      Generated constant - Attribute key of AtpFormula.availability attribute defined at extension warehousing.
      See Also:
    • ALLOCATION

      public static final String ALLOCATION
      Generated constant - Attribute key of AtpFormula.allocation attribute defined at extension warehousing.
      See Also:
    • CANCELLATION

      public static final String CANCELLATION
      Generated constant - Attribute key of AtpFormula.cancellation attribute defined at extension warehousing.
      See Also:
    • INCREASE

      public static final String INCREASE
      Generated constant - Attribute key of AtpFormula.increase attribute defined at extension warehousing.
      See Also:
    • RESERVED

      public static final String RESERVED
      Generated constant - Attribute key of AtpFormula.reserved attribute defined at extension warehousing.
      See Also:
    • SHRINKAGE

      public static final String SHRINKAGE
      Generated constant - Attribute key of AtpFormula.shrinkage attribute defined at extension warehousing.
      See Also:
    • WASTAGE

      public static final String WASTAGE
      Generated constant - Attribute key of AtpFormula.wastage attribute defined at extension warehousing.
      See Also:
    • RETURNED

      public static final String RETURNED
      Generated constant - Attribute key of AtpFormula.returned attribute defined at extension warehousing.
      See Also:
    • EXTERNAL

      public static final String EXTERNAL
      Generated constant - Attribute key of AtpFormula.external attribute defined at extension warehousing.
      See Also:
    • FORMULASTRING

      public static final String FORMULASTRING
      Generated constant - Attribute key of AtpFormula.formulaString attribute defined at extension warehousing.
      See Also:
    • BASESTORES

      public static final String BASESTORES
      Generated constant - Attribute key of AtpFormula.baseStores attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • AtpFormulaModel

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

      public AtpFormulaModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • AtpFormulaModel

      @Deprecated(since="4.1.1", forRemoval=true) public AtpFormulaModel(String _code)
      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:
      _code - initial attribute declared by type AtpFormula at extension warehousing
    • AtpFormulaModel

      @Deprecated(since="4.1.1", forRemoval=true) public AtpFormulaModel(String _code, ItemModel _owner)
      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:
      _code - initial attribute declared by type AtpFormula at extension warehousing
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAllocation

      @Accessor(qualifier="allocation", type=GETTER) public Boolean getAllocation()
      Generated method - Getter of the AtpFormula.allocation attribute defined at extension warehousing.
      Returns:
      the allocation - A flag to indicate if allocation events are included in the ATP calculation
    • getAvailability

      @Accessor(qualifier="availability", type=GETTER) public Boolean getAvailability()
      Generated method - Getter of the AtpFormula.availability attribute defined at extension warehousing.
      Returns:
      the availability - A flag to indicate if availability events are included in the ATP calculation
    • getBaseStores

      @Accessor(qualifier="baseStores", type=GETTER) public Set<BaseStoreModel> getBaseStores()
      Generated method - Getter of the AtpFormula.baseStores attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the baseStores
    • getCancellation

      @Accessor(qualifier="cancellation", type=GETTER) public Boolean getCancellation()
      Generated method - Getter of the AtpFormula.cancellation attribute defined at extension warehousing.
      Returns:
      the cancellation - A flag to indicate if cancellation events are included in the ATP calculation
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the AtpFormula.code attribute defined at extension warehousing.
      Returns:
      the code - A unique name of the formula.
    • getExternal

      @Accessor(qualifier="external", type=GETTER) public Boolean getExternal()
      Generated method - Getter of the AtpFormula.external attribute defined at extension warehousing.
      Returns:
      the external - A flag indicating that the external availability is included in the ATP calculation
    • getFormulaString

      @Accessor(qualifier="formulaString", type=GETTER) public String getFormulaString()
      Generated method - Getter of the AtpFormula.formulaString dynamic attribute defined at extension warehousing.
      Returns:
      the formulaString - String representation of the AtpFormula
    • getIncrease

      @Accessor(qualifier="increase", type=GETTER) public Boolean getIncrease()
      Generated method - Getter of the AtpFormula.increase attribute defined at extension warehousing.
      Returns:
      the increase - A flag to indicate if increase events are included in the ATP calculation
    • getReserved

      @Accessor(qualifier="reserved", type=GETTER) public Boolean getReserved()
      Generated method - Getter of the AtpFormula.reserved attribute defined at extension warehousing.
      Returns:
      the reserved - A flag to indicate if reserved events are included in the ATP calculation
    • getReturned

      @Accessor(qualifier="returned", type=GETTER) public Boolean getReturned()
      Generated method - Getter of the AtpFormula.returned attribute defined at extension warehousing.
      Returns:
      the returned - A flag to indicate if returned events are included in the ATP calculation
    • getShrinkage

      @Accessor(qualifier="shrinkage", type=GETTER) public Boolean getShrinkage()
      Generated method - Getter of the AtpFormula.shrinkage attribute defined at extension warehousing.
      Returns:
      the shrinkage - A flag to indicate if shrinkage events are included in the ATP calculation
    • getWastage

      @Accessor(qualifier="wastage", type=GETTER) public Boolean getWastage()
      Generated method - Getter of the AtpFormula.wastage attribute defined at extension warehousing.
      Returns:
      the wastage - A flag to indicate if wastage events are included in the ATP calculation
    • setAllocation

      @Accessor(qualifier="allocation", type=SETTER) public void setAllocation(Boolean value)
      Generated method - Setter of AtpFormula.allocation attribute defined at extension warehousing.
      Parameters:
      value - the allocation - A flag to indicate if allocation events are included in the ATP calculation
    • setAvailability

      @Accessor(qualifier="availability", type=SETTER) public void setAvailability(Boolean value)
      Generated method - Setter of AtpFormula.availability attribute defined at extension warehousing.
      Parameters:
      value - the availability - A flag to indicate if availability events are included in the ATP calculation
    • setBaseStores

      @Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Set<BaseStoreModel> value)
      Generated method - Setter of AtpFormula.baseStores attribute defined at extension warehousing.
      Parameters:
      value - the baseStores
    • setCancellation

      @Accessor(qualifier="cancellation", type=SETTER) public void setCancellation(Boolean value)
      Generated method - Setter of AtpFormula.cancellation attribute defined at extension warehousing.
      Parameters:
      value - the cancellation - A flag to indicate if cancellation events are included in the ATP calculation
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of AtpFormula.code attribute defined at extension warehousing.
      Parameters:
      value - the code - A unique name of the formula.
    • setExternal

      @Accessor(qualifier="external", type=SETTER) public void setExternal(Boolean value)
      Generated method - Setter of AtpFormula.external attribute defined at extension warehousing.
      Parameters:
      value - the external - A flag indicating that the external availability is included in the ATP calculation
    • setIncrease

      @Accessor(qualifier="increase", type=SETTER) public void setIncrease(Boolean value)
      Generated method - Setter of AtpFormula.increase attribute defined at extension warehousing.
      Parameters:
      value - the increase - A flag to indicate if increase events are included in the ATP calculation
    • setReserved

      @Accessor(qualifier="reserved", type=SETTER) public void setReserved(Boolean value)
      Generated method - Setter of AtpFormula.reserved attribute defined at extension warehousing.
      Parameters:
      value - the reserved - A flag to indicate if reserved events are included in the ATP calculation
    • setReturned

      @Accessor(qualifier="returned", type=SETTER) public void setReturned(Boolean value)
      Generated method - Setter of AtpFormula.returned attribute defined at extension warehousing.
      Parameters:
      value - the returned - A flag to indicate if returned events are included in the ATP calculation
    • setShrinkage

      @Accessor(qualifier="shrinkage", type=SETTER) public void setShrinkage(Boolean value)
      Generated method - Setter of AtpFormula.shrinkage attribute defined at extension warehousing.
      Parameters:
      value - the shrinkage - A flag to indicate if shrinkage events are included in the ATP calculation
    • setWastage

      @Accessor(qualifier="wastage", type=SETTER) public void setWastage(Boolean value)
      Generated method - Setter of AtpFormula.wastage attribute defined at extension warehousing.
      Parameters:
      value - the wastage - A flag to indicate if wastage events are included in the ATP calculation