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

public class SourcingConfigModel extends ItemModel
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

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation BaseStore2SourcingConfigRelation defining source attribute baseStores in extension warehousing.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of SourcingConfig.baseStores attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of SourcingConfig.code attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
    static final String
    Generated constant - Attribute key of SourcingConfig.scoreWeightFactor 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.
    SourcingConfigModel(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
    int
    Generated method - Getter of the SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
    Generated method - Getter of the SourcingConfig.baseStores attribute defined at extension warehousing.
    Generated method - Getter of the SourcingConfig.code attribute defined at extension warehousing.
    int
    Generated method - Getter of the SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
    int
    Generated method - Getter of the SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
    int
    Generated method - Getter of the SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
    void
    Generated method - Setter of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
    void
    Generated method - Setter of SourcingConfig.baseStores attribute defined at extension warehousing.
    void
    setCode(String value)
    Generated method - Setter of SourcingConfig.code attribute defined at extension warehousing.
    void
    Generated method - Setter of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
    void
    Generated method - Setter of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
    void
    Generated method - Setter of SourcingConfig.scoreWeightFactor 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:
    • _BASESTORE2SOURCINGCONFIGRELATION

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

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

      public static final String DISTANCEWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      See Also:
    • ALLOCATIONWEIGHTFACTOR

      public static final String ALLOCATIONWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      See Also:
    • PRIORITYWEIGHTFACTOR

      public static final String PRIORITYWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      See Also:
    • SCOREWEIGHTFACTOR

      public static final String SCOREWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      See Also:
    • BASESTORES

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

    • SourcingConfigModel

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

      public SourcingConfigModel(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
    • SourcingConfigModel

      @Deprecated(since="4.1.1", forRemoval=true) public SourcingConfigModel(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 SourcingConfig at extension warehousing
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type SourcingConfig at extension warehousing
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAllocationWeightFactor

      @Accessor(qualifier="allocationWeightFactor", type=GETTER) public int getAllocationWeightFactor()
      Generated method - Getter of the SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      Returns:
      the allocationWeightFactor - Determines the weightage of the ATP during sourcing
    • getBaseStores

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

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the SourcingConfig.code attribute defined at extension warehousing.
      Returns:
      the code
    • getDistanceWeightFactor

      @Accessor(qualifier="distanceWeightFactor", type=GETTER) public int getDistanceWeightFactor()
      Generated method - Getter of the SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      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 the SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      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 the SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      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 of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      Parameters:
      value - the allocationWeightFactor - Determines the weightage of the ATP during sourcing
    • setBaseStores

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

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of SourcingConfig.code attribute defined at extension warehousing.
      Parameters:
      value - the code
    • setDistanceWeightFactor

      @Accessor(qualifier="distanceWeightFactor", type=SETTER) public void setDistanceWeightFactor(int value)
      Generated method - Setter of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      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 of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      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 of SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      Parameters:
      value - the scoreWeightFactor - Determines the weightage of the warehouse score during sourcing