Class SourcingConfigModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.warehousing.model.SourcingConfigModel
- All Implemented Interfaces:
Serializable
Generated model class for type SourcingConfig first defined at extension warehousing.
- 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 relationBaseStore2SourcingConfigRelationdefining source attributebaseStoresin extensionwarehousing.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofSourcingConfig.codeattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofSourcingConfig.scoreWeightFactorattribute 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 contextSourcingConfigModel(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 parametersSourcingConfigModel(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 TypeMethodDescriptionintGenerated method - Getter of theSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.Generated method - Getter of theSourcingConfig.baseStoresattribute defined at extensionwarehousing.getCode()Generated method - Getter of theSourcingConfig.codeattribute defined at extensionwarehousing.intGenerated method - Getter of theSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.intGenerated method - Getter of theSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.intGenerated method - Getter of theSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.voidsetAllocationWeightFactor(int value) Generated method - Setter ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.voidsetBaseStores(Set<BaseStoreModel> value) Generated method - Setter ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.voidGenerated method - Setter ofSourcingConfig.codeattribute defined at extensionwarehousing.voidsetDistanceWeightFactor(int value) Generated method - Setter ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.voidsetPriorityWeightFactor(int value) Generated method - Setter ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.voidsetScoreWeightFactor(int value) Generated method - Setter ofSourcingConfig.scoreWeightFactorattribute 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:
-
_BASESTORE2SOURCINGCONFIGRELATION
Generated relation code constant for relationBaseStore2SourcingConfigRelationdefining source attributebaseStoresin extensionwarehousing.- See Also:
-
CODE
Generated constant - Attribute key ofSourcingConfig.codeattribute defined at extensionwarehousing.- See Also:
-
DISTANCEWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.- See Also:
-
ALLOCATIONWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.- See Also:
-
PRIORITYWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.- See Also:
-
SCOREWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.- See Also:
-
BASESTORES
Generated constant - Attribute key ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
SourcingConfigModel
public SourcingConfigModel()Generated constructor - Default constructor for generic creation. -
SourcingConfigModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SourcingConfigModel
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 typeSourcingConfigat extensionwarehousing
-
SourcingConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public SourcingConfigModel(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 typeSourcingConfigat extensionwarehousing_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAllocationWeightFactor
Generated method - Getter of theSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.- Returns:
- the allocationWeightFactor - Determines the weightage of the ATP during sourcing
-
getBaseStores
Generated method - Getter of theSourcingConfig.baseStoresattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getCode
Generated method - Getter of theSourcingConfig.codeattribute defined at extensionwarehousing.- Returns:
- the code
-
getDistanceWeightFactor
Generated method - Getter of theSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.- Returns:
- the distanceWeightFactor - Determines the weightage of the warehouse distance during sourcing
-
getPriorityWeightFactor
Generated method - Getter of theSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.- Returns:
- the priorityWeightFactor - Determines the weightage of the warehouse priority during sourcing
-
getScoreWeightFactor
Generated method - Getter of theSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.- Returns:
- the scoreWeightFactor - Determines the weightage of the warehouse score during sourcing
-
setAllocationWeightFactor
@Accessor(qualifier="allocationWeightFactor", type=SETTER) public void setAllocationWeightFactor(int value) Generated method - Setter ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.- Parameters:
value- the allocationWeightFactor - Determines the weightage of the ATP during sourcing
-
setBaseStores
Generated method - Setter ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.- Parameters:
value- the baseStores
-
setCode
Generated method - Setter ofSourcingConfig.codeattribute defined at extensionwarehousing.- Parameters:
value- the code
-
setDistanceWeightFactor
@Accessor(qualifier="distanceWeightFactor", type=SETTER) public void setDistanceWeightFactor(int value) Generated method - Setter ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.- Parameters:
value- the distanceWeightFactor - Determines the weightage of the warehouse distance during sourcing
-
setPriorityWeightFactor
@Accessor(qualifier="priorityWeightFactor", type=SETTER) public void setPriorityWeightFactor(int value) Generated method - Setter ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.- Parameters:
value- the priorityWeightFactor - Determines the weightage of the warehouse priority during sourcing
-
setScoreWeightFactor
Generated method - Setter ofSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.- Parameters:
value- the scoreWeightFactor - Determines the weightage of the warehouse score during sourcing
-