Class 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

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String _BASESTORE2SOURCINGCONFIGRELATION
      Generated relation code constant for relation BaseStore2SourcingConfigRelation defining source attribute baseStores in extension warehousing.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ALLOCATIONWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      static java.lang.String BASESTORES
      Generated constant - Attribute key of SourcingConfig.baseStores attribute defined at extension warehousing.
      static java.lang.String CODE
      Generated constant - Attribute key of SourcingConfig.code attribute defined at extension warehousing.
      static java.lang.String DISTANCEWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      static java.lang.String PRIORITYWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      static java.lang.String SCOREWEIGHTFACTOR
      Generated constant - Attribute key of SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      • 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​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAllocationWeightFactor()
      Generated method - Getter of the SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      java.util.Set<BaseStoreModel> getBaseStores()
      Generated method - Getter of the SourcingConfig.baseStores attribute defined at extension warehousing.
      java.lang.String getCode()
      Generated method - Getter of the SourcingConfig.code attribute defined at extension warehousing.
      int getDistanceWeightFactor()
      Generated method - Getter of the SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      int getPriorityWeightFactor()
      Generated method - Getter of the SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      int getScoreWeightFactor()
      Generated method - Getter of the SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      void setAllocationWeightFactor​(int value)
      Generated method - Setter of SourcingConfig.allocationWeightFactor attribute defined at extension warehousing.
      void setBaseStores​(java.util.Set<BaseStoreModel> value)
      Generated method - Setter of SourcingConfig.baseStores attribute defined at extension warehousing.
      void setCode​(java.lang.String value)
      Generated method - Setter of SourcingConfig.code attribute defined at extension warehousing.
      void setDistanceWeightFactor​(int value)
      Generated method - Setter of SourcingConfig.distanceWeightFactor attribute defined at extension warehousing.
      void setPriorityWeightFactor​(int value)
      Generated method - Setter of SourcingConfig.priorityWeightFactor attribute defined at extension warehousing.
      void setScoreWeightFactor​(int value)
      Generated method - Setter of SourcingConfig.scoreWeightFactor attribute defined at extension warehousing.
      • 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 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 relation BaseStore2SourcingConfigRelation defining source attribute baseStores in extension warehousing.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

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

        public static final java.lang.String BASESTORES
        Generated constant - Attribute key of SourcingConfig.baseStores attribute defined at extension warehousing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(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 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​(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
        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 Detail

      • 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 java.util.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 java.lang.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​(java.util.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​(java.lang.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