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:
java.io.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_BASESTORE2ATPFORMULARELATIONGenerated relation code constant for relationBaseStore2AtpFormulaRelationdefining source attributebaseStoresin extensionwarehousing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringALLOCATIONGenerated constant - Attribute key ofAtpFormula.allocationattribute defined at extensionwarehousing.static java.lang.StringAVAILABILITYGenerated constant - Attribute key ofAtpFormula.availabilityattribute defined at extensionwarehousing.static java.lang.StringBASESTORESGenerated constant - Attribute key ofAtpFormula.baseStoresattribute defined at extensionwarehousing.static java.lang.StringCANCELLATIONGenerated constant - Attribute key ofAtpFormula.cancellationattribute defined at extensionwarehousing.static java.lang.StringCODEGenerated constant - Attribute key ofAtpFormula.codeattribute defined at extensionwarehousing.static java.lang.StringEXTERNALGenerated constant - Attribute key ofAtpFormula.externalattribute defined at extensionwarehousing.static java.lang.StringFORMULASTRINGGenerated constant - Attribute key ofAtpFormula.formulaStringattribute defined at extensionwarehousing.static java.lang.StringINCREASEGenerated constant - Attribute key ofAtpFormula.increaseattribute defined at extensionwarehousing.static java.lang.StringRESERVEDGenerated constant - Attribute key ofAtpFormula.reservedattribute defined at extensionwarehousing.static java.lang.StringRETURNEDGenerated constant - Attribute key ofAtpFormula.returnedattribute defined at extensionwarehousing.static java.lang.StringSHRINKAGEGenerated constant - Attribute key ofAtpFormula.shrinkageattribute defined at extensionwarehousing.static java.lang.StringWASTAGEGenerated constant - Attribute key ofAtpFormula.wastageattribute defined at extensionwarehousing.-
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 AtpFormulaModel()Generated constructor - Default constructor for generic creation.AtpFormulaModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextAtpFormulaModel(java.lang.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 parametersAtpFormulaModel(java.lang.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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetAllocation()Generated method - Getter of theAtpFormula.allocationattribute defined at extensionwarehousing.java.lang.BooleangetAvailability()Generated method - Getter of theAtpFormula.availabilityattribute defined at extensionwarehousing.java.util.Set<BaseStoreModel>getBaseStores()Generated method - Getter of theAtpFormula.baseStoresattribute defined at extensionwarehousing.java.lang.BooleangetCancellation()Generated method - Getter of theAtpFormula.cancellationattribute defined at extensionwarehousing.java.lang.StringgetCode()Generated method - Getter of theAtpFormula.codeattribute defined at extensionwarehousing.java.lang.BooleangetExternal()Generated method - Getter of theAtpFormula.externalattribute defined at extensionwarehousing.java.lang.StringgetFormulaString()Generated method - Getter of theAtpFormula.formulaStringdynamic attribute defined at extensionwarehousing.java.lang.BooleangetIncrease()Generated method - Getter of theAtpFormula.increaseattribute defined at extensionwarehousing.java.lang.BooleangetReserved()Generated method - Getter of theAtpFormula.reservedattribute defined at extensionwarehousing.java.lang.BooleangetReturned()Generated method - Getter of theAtpFormula.returnedattribute defined at extensionwarehousing.java.lang.BooleangetShrinkage()Generated method - Getter of theAtpFormula.shrinkageattribute defined at extensionwarehousing.java.lang.BooleangetWastage()Generated method - Getter of theAtpFormula.wastageattribute defined at extensionwarehousing.voidsetAllocation(java.lang.Boolean value)Generated method - Setter ofAtpFormula.allocationattribute defined at extensionwarehousing.voidsetAvailability(java.lang.Boolean value)Generated method - Setter ofAtpFormula.availabilityattribute defined at extensionwarehousing.voidsetBaseStores(java.util.Set<BaseStoreModel> value)Generated method - Setter ofAtpFormula.baseStoresattribute defined at extensionwarehousing.voidsetCancellation(java.lang.Boolean value)Generated method - Setter ofAtpFormula.cancellationattribute defined at extensionwarehousing.voidsetCode(java.lang.String value)Generated method - Setter ofAtpFormula.codeattribute defined at extensionwarehousing.voidsetExternal(java.lang.Boolean value)Generated method - Setter ofAtpFormula.externalattribute defined at extensionwarehousing.voidsetIncrease(java.lang.Boolean value)Generated method - Setter ofAtpFormula.increaseattribute defined at extensionwarehousing.voidsetReserved(java.lang.Boolean value)Generated method - Setter ofAtpFormula.reservedattribute defined at extensionwarehousing.voidsetReturned(java.lang.Boolean value)Generated method - Setter ofAtpFormula.returnedattribute defined at extensionwarehousing.voidsetShrinkage(java.lang.Boolean value)Generated method - Setter ofAtpFormula.shrinkageattribute defined at extensionwarehousing.voidsetWastage(java.lang.Boolean value)Generated method - Setter ofAtpFormula.wastageattribute defined at extensionwarehousing.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_BASESTORE2ATPFORMULARELATION
public static final java.lang.String _BASESTORE2ATPFORMULARELATION
Generated relation code constant for relationBaseStore2AtpFormulaRelationdefining source attributebaseStoresin extensionwarehousing.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAtpFormula.codeattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
AVAILABILITY
public static final java.lang.String AVAILABILITY
Generated constant - Attribute key ofAtpFormula.availabilityattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
ALLOCATION
public static final java.lang.String ALLOCATION
Generated constant - Attribute key ofAtpFormula.allocationattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
CANCELLATION
public static final java.lang.String CANCELLATION
Generated constant - Attribute key ofAtpFormula.cancellationattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
INCREASE
public static final java.lang.String INCREASE
Generated constant - Attribute key ofAtpFormula.increaseattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
RESERVED
public static final java.lang.String RESERVED
Generated constant - Attribute key ofAtpFormula.reservedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
SHRINKAGE
public static final java.lang.String SHRINKAGE
Generated constant - Attribute key ofAtpFormula.shrinkageattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
WASTAGE
public static final java.lang.String WASTAGE
Generated constant - Attribute key ofAtpFormula.wastageattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
RETURNED
public static final java.lang.String RETURNED
Generated constant - Attribute key ofAtpFormula.returnedattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
EXTERNAL
public static final java.lang.String EXTERNAL
Generated constant - Attribute key ofAtpFormula.externalattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
FORMULASTRING
public static final java.lang.String FORMULASTRING
Generated constant - Attribute key ofAtpFormula.formulaStringattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofAtpFormula.baseStoresattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AtpFormulaModel
public AtpFormulaModel()
Generated constructor - Default constructor for generic creation.
-
AtpFormulaModel
public AtpFormulaModel(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(java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeAtpFormulaat extensionwarehousing
-
AtpFormulaModel
@Deprecated(since="4.1.1", forRemoval=true) public AtpFormulaModel(java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeAtpFormulaat extensionwarehousing_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAllocation
@Accessor(qualifier="allocation", type=GETTER) public java.lang.Boolean getAllocation()
Generated method - Getter of theAtpFormula.allocationattribute defined at extensionwarehousing.- Returns:
- the allocation - A flag to indicate if allocation events are included in the ATP calculation
-
getAvailability
@Accessor(qualifier="availability", type=GETTER) public java.lang.Boolean getAvailability()
Generated method - Getter of theAtpFormula.availabilityattribute defined at extensionwarehousing.- Returns:
- the availability - A flag to indicate if availability events are included in the ATP calculation
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Set<BaseStoreModel> getBaseStores()
Generated method - Getter of theAtpFormula.baseStoresattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getCancellation
@Accessor(qualifier="cancellation", type=GETTER) public java.lang.Boolean getCancellation()
Generated method - Getter of theAtpFormula.cancellationattribute defined at extensionwarehousing.- Returns:
- the cancellation - A flag to indicate if cancellation events are included in the ATP calculation
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAtpFormula.codeattribute defined at extensionwarehousing.- Returns:
- the code - A unique name of the formula.
-
getExternal
@Accessor(qualifier="external", type=GETTER) public java.lang.Boolean getExternal()
Generated method - Getter of theAtpFormula.externalattribute defined at extensionwarehousing.- Returns:
- the external - A flag indicating that the external availability is included in the ATP calculation
-
getFormulaString
@Accessor(qualifier="formulaString", type=GETTER) public java.lang.String getFormulaString()
Generated method - Getter of theAtpFormula.formulaStringdynamic attribute defined at extensionwarehousing.- Returns:
- the formulaString - String representation of the AtpFormula
-
getIncrease
@Accessor(qualifier="increase", type=GETTER) public java.lang.Boolean getIncrease()
Generated method - Getter of theAtpFormula.increaseattribute defined at extensionwarehousing.- Returns:
- the increase - A flag to indicate if increase events are included in the ATP calculation
-
getReserved
@Accessor(qualifier="reserved", type=GETTER) public java.lang.Boolean getReserved()
Generated method - Getter of theAtpFormula.reservedattribute defined at extensionwarehousing.- Returns:
- the reserved - A flag to indicate if reserved events are included in the ATP calculation
-
getReturned
@Accessor(qualifier="returned", type=GETTER) public java.lang.Boolean getReturned()
Generated method - Getter of theAtpFormula.returnedattribute defined at extensionwarehousing.- Returns:
- the returned - A flag to indicate if returned events are included in the ATP calculation
-
getShrinkage
@Accessor(qualifier="shrinkage", type=GETTER) public java.lang.Boolean getShrinkage()
Generated method - Getter of theAtpFormula.shrinkageattribute defined at extensionwarehousing.- Returns:
- the shrinkage - A flag to indicate if shrinkage events are included in the ATP calculation
-
getWastage
@Accessor(qualifier="wastage", type=GETTER) public java.lang.Boolean getWastage()
Generated method - Getter of theAtpFormula.wastageattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.allocationattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.availabilityattribute defined at extensionwarehousing.- 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(java.util.Set<BaseStoreModel> value)
Generated method - Setter ofAtpFormula.baseStoresattribute defined at extensionwarehousing.- Parameters:
value- the baseStores
-
setCancellation
@Accessor(qualifier="cancellation", type=SETTER) public void setCancellation(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.cancellationattribute defined at extensionwarehousing.- 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(java.lang.String value)
Generated method - Setter ofAtpFormula.codeattribute defined at extensionwarehousing.- Parameters:
value- the code - A unique name of the formula.
-
setExternal
@Accessor(qualifier="external", type=SETTER) public void setExternal(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.externalattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.increaseattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.reservedattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.returnedattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.shrinkageattribute defined at extensionwarehousing.- 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(java.lang.Boolean value)
Generated method - Setter ofAtpFormula.wastageattribute defined at extensionwarehousing.- Parameters:
value- the wastage - A flag to indicate if wastage events are included in the ATP calculation
-
-