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:
java.io.Serializable
public class SourcingConfigModel extends ItemModel
Generated model class for type SourcingConfig first defined at extension warehousing.- 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_BASESTORE2SOURCINGCONFIGRELATIONGenerated relation code constant for relationBaseStore2SourcingConfigRelationdefining source attributebaseStoresin extensionwarehousing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringALLOCATIONWEIGHTFACTORGenerated constant - Attribute key ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.static java.lang.StringBASESTORESGenerated constant - Attribute key ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.static java.lang.StringCODEGenerated constant - Attribute key ofSourcingConfig.codeattribute defined at extensionwarehousing.static java.lang.StringDISTANCEWEIGHTFACTORGenerated constant - Attribute key ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.static java.lang.StringPRIORITYWEIGHTFACTORGenerated constant - Attribute key ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.static java.lang.StringSCOREWEIGHTFACTORGenerated 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, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SourcingConfigModel()Generated constructor - Default constructor for generic creation.SourcingConfigModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSourcingConfigModel(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 parametersSourcingConfigModel(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 intgetAllocationWeightFactor()Generated method - Getter of theSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.java.util.Set<BaseStoreModel>getBaseStores()Generated method - Getter of theSourcingConfig.baseStoresattribute defined at extensionwarehousing.java.lang.StringgetCode()Generated method - Getter of theSourcingConfig.codeattribute defined at extensionwarehousing.intgetDistanceWeightFactor()Generated method - Getter of theSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.intgetPriorityWeightFactor()Generated method - Getter of theSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.intgetScoreWeightFactor()Generated method - Getter of theSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.voidsetAllocationWeightFactor(int value)Generated method - Setter ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.voidsetBaseStores(java.util.Set<BaseStoreModel> value)Generated method - Setter ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.voidsetCode(java.lang.String value)Generated 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, 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
-
_BASESTORE2SOURCINGCONFIGRELATION
public static final java.lang.String _BASESTORE2SOURCINGCONFIGRELATION
Generated relation code constant for relationBaseStore2SourcingConfigRelationdefining source attributebaseStoresin extensionwarehousing.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofSourcingConfig.codeattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
DISTANCEWEIGHTFACTOR
public static final java.lang.String DISTANCEWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
ALLOCATIONWEIGHTFACTOR
public static final java.lang.String ALLOCATIONWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
PRIORITYWEIGHTFACTOR
public static final java.lang.String PRIORITYWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
SCOREWEIGHTFACTOR
public static final java.lang.String SCOREWEIGHTFACTOR
Generated constant - Attribute key ofSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SourcingConfigModel
public SourcingConfigModel()
Generated constructor - Default constructor for generic creation.
-
SourcingConfigModel
public SourcingConfigModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SourcingConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public SourcingConfigModel(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 typeSourcingConfigat extensionwarehousing
-
SourcingConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public SourcingConfigModel(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 typeSourcingConfigat extensionwarehousing_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAllocationWeightFactor
@Accessor(qualifier="allocationWeightFactor", type=GETTER) public int getAllocationWeightFactor()
Generated method - Getter of theSourcingConfig.allocationWeightFactorattribute defined at extensionwarehousing.- Returns:
- the allocationWeightFactor - Determines the weightage of the ATP during sourcing
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Set<BaseStoreModel> 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
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theSourcingConfig.codeattribute defined at extensionwarehousing.- Returns:
- the code
-
getDistanceWeightFactor
@Accessor(qualifier="distanceWeightFactor", type=GETTER) public int getDistanceWeightFactor()
Generated method - Getter of theSourcingConfig.distanceWeightFactorattribute defined at extensionwarehousing.- Returns:
- the distanceWeightFactor - Determines the weightage of the warehouse distance during sourcing
-
getPriorityWeightFactor
@Accessor(qualifier="priorityWeightFactor", type=GETTER) public int getPriorityWeightFactor()
Generated method - Getter of theSourcingConfig.priorityWeightFactorattribute defined at extensionwarehousing.- Returns:
- the priorityWeightFactor - Determines the weightage of the warehouse priority during sourcing
-
getScoreWeightFactor
@Accessor(qualifier="scoreWeightFactor", type=GETTER) public int 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
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(java.util.Set<BaseStoreModel> value)
Generated method - Setter ofSourcingConfig.baseStoresattribute defined at extensionwarehousing.- Parameters:
value- the baseStores
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
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
@Accessor(qualifier="scoreWeightFactor", type=SETTER) public void setScoreWeightFactor(int value)
Generated method - Setter ofSourcingConfig.scoreWeightFactorattribute defined at extensionwarehousing.- Parameters:
value- the scoreWeightFactor - Determines the weightage of the warehouse score during sourcing
-
-