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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationBaseStore2AtpFormulaRelationdefining source attributebaseStoresin extensionwarehousing.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAtpFormula.allocationattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.availabilityattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.baseStoresattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.cancellationattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.codeattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.externalattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.formulaStringattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.increaseattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.reservedattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.returnedattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofAtpFormula.shrinkageattribute defined at extensionwarehousing.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextAtpFormulaModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theAtpFormula.allocationattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.availabilityattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.baseStoresattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.cancellationattribute defined at extensionwarehousing.getCode()Generated method - Getter of theAtpFormula.codeattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.externalattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.formulaStringdynamic attribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.increaseattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.reservedattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.returnedattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.shrinkageattribute defined at extensionwarehousing.Generated method - Getter of theAtpFormula.wastageattribute defined at extensionwarehousing.voidsetAllocation(Boolean value) Generated method - Setter ofAtpFormula.allocationattribute defined at extensionwarehousing.voidsetAvailability(Boolean value) Generated method - Setter ofAtpFormula.availabilityattribute defined at extensionwarehousing.voidsetBaseStores(Set<BaseStoreModel> value) Generated method - Setter ofAtpFormula.baseStoresattribute defined at extensionwarehousing.voidsetCancellation(Boolean value) Generated method - Setter ofAtpFormula.cancellationattribute defined at extensionwarehousing.voidGenerated method - Setter ofAtpFormula.codeattribute defined at extensionwarehousing.voidsetExternal(Boolean value) Generated method - Setter ofAtpFormula.externalattribute defined at extensionwarehousing.voidsetIncrease(Boolean value) Generated method - Setter ofAtpFormula.increaseattribute defined at extensionwarehousing.voidsetReserved(Boolean value) Generated method - Setter ofAtpFormula.reservedattribute defined at extensionwarehousing.voidsetReturned(Boolean value) Generated method - Setter ofAtpFormula.returnedattribute defined at extensionwarehousing.voidsetShrinkage(Boolean value) Generated method - Setter ofAtpFormula.shrinkageattribute defined at extensionwarehousing.voidsetWastage(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_BASESTORE2ATPFORMULARELATION
Generated relation code constant for relationBaseStore2AtpFormulaRelationdefining source attributebaseStoresin extensionwarehousing.- See Also:
-
CODE
Generated constant - Attribute key ofAtpFormula.codeattribute defined at extensionwarehousing.- See Also:
-
AVAILABILITY
Generated constant - Attribute key ofAtpFormula.availabilityattribute defined at extensionwarehousing.- See Also:
-
ALLOCATION
Generated constant - Attribute key ofAtpFormula.allocationattribute defined at extensionwarehousing.- See Also:
-
CANCELLATION
Generated constant - Attribute key ofAtpFormula.cancellationattribute defined at extensionwarehousing.- See Also:
-
INCREASE
Generated constant - Attribute key ofAtpFormula.increaseattribute defined at extensionwarehousing.- See Also:
-
RESERVED
Generated constant - Attribute key ofAtpFormula.reservedattribute defined at extensionwarehousing.- See Also:
-
SHRINKAGE
Generated constant - Attribute key ofAtpFormula.shrinkageattribute defined at extensionwarehousing.- See Also:
-
WASTAGE
Generated constant - Attribute key ofAtpFormula.wastageattribute defined at extensionwarehousing.- See Also:
-
RETURNED
Generated constant - Attribute key ofAtpFormula.returnedattribute defined at extensionwarehousing.- See Also:
-
EXTERNAL
Generated constant - Attribute key ofAtpFormula.externalattribute defined at extensionwarehousing.- See Also:
-
FORMULASTRING
Generated constant - Attribute key ofAtpFormula.formulaStringattribute defined at extensionwarehousing.- See Also:
-
BASESTORES
Generated constant - Attribute key ofAtpFormula.baseStoresattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
AtpFormulaModel
public AtpFormulaModel()Generated constructor - Default constructor for generic creation. -
AtpFormulaModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AtpFormulaModel
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, 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 Details
-
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
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
Generated method - Getter of theAtpFormula.baseStoresattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
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
Generated method - Getter of theAtpFormula.codeattribute defined at extensionwarehousing.- Returns:
- the code - A unique name of the formula.
-
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
Generated method - Getter of theAtpFormula.formulaStringdynamic attribute defined at extensionwarehousing.- Returns:
- the formulaString - String representation of the AtpFormula
-
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
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
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
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
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
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
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
Generated method - Setter ofAtpFormula.baseStoresattribute defined at extensionwarehousing.- Parameters:
value- the baseStores
-
setCancellation
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
Generated method - Setter ofAtpFormula.codeattribute defined at extensionwarehousing.- Parameters:
value- the code - A unique name of the formula.
-
setExternal
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
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
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
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
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
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
-