Class ProductConfigurationMockModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.sap.productconfig.runtime.mock.model.ProductConfigurationMockModel
All Implemented Interfaces:
Serializable

public class ProductConfigurationMockModel extends ItemModel
Generated model class for type ProductConfigurationMock first defined at extension sapproductconfigruntimemock.

ProductConfigurationMock stores the state of a runtime configuration created by ProductConfig Mock Configurator, which is only suitable for demo or test purpose, but not for production use.

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 model type code constant.
    static final String
    Generated constant - Attribute key of ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
    static final String
    Generated constant - Attribute key of ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
    static final String
    Generated constant - Attribute key of ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.

    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.
    ProductConfigurationMockModel(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
    Generated method - Getter of the ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
    Generated method - Getter of the ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
    Generated method - Getter of the ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.
    void
    Generated method - Setter of ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
    void
    Generated method - Setter of ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
    void
    Generated method - Setter of ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.

    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:
    • CONFIGID

      public static final String CONFIGID
      Generated constant - Attribute key of ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
      See Also:
    • CURRENTCONFIGSTATE

      public static final String CURRENTCONFIGSTATE
      Generated constant - Attribute key of ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
      See Also:
    • EXTERNALCONFIGSTATE

      public static final String EXTERNALCONFIGSTATE
      Generated constant - Attribute key of ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.
      See Also:
  • Constructor Details

    • ProductConfigurationMockModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ProductConfigurationMockModel(String _configId)
      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:
      _configId - initial attribute declared by type ProductConfigurationMock at extension sapproductconfigruntimemock
    • ProductConfigurationMockModel

      @Deprecated(since="4.1.1", forRemoval=true) public ProductConfigurationMockModel(String _configId, 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:
      _configId - initial attribute declared by type ProductConfigurationMock at extension sapproductconfigruntimemock
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getConfigId

      @Accessor(qualifier="configId", type=GETTER) public String getConfigId()
      Generated method - Getter of the ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
      Returns:
      the configId - Id of the persisted mock configuration
    • getCurrentConfigState

      @Accessor(qualifier="currentConfigState", type=GETTER) public Object getCurrentConfigState()
      Generated method - Getter of the ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
      Returns:
      the currentConfigState - mock configuration content
    • getExternalConfigState

      @Accessor(qualifier="externalConfigState", type=GETTER) public Object getExternalConfigState()
      Generated method - Getter of the ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.
      Returns:
      the externalConfigState - mock configuration content of an external Configuration
    • setConfigId

      @Accessor(qualifier="configId", type=SETTER) public void setConfigId(String value)
      Generated method - Setter of ProductConfigurationMock.configId attribute defined at extension sapproductconfigruntimemock.
      Parameters:
      value - the configId - Id of the persisted mock configuration
    • setCurrentConfigState

      @Accessor(qualifier="currentConfigState", type=SETTER) public void setCurrentConfigState(Object value)
      Generated method - Setter of ProductConfigurationMock.currentConfigState attribute defined at extension sapproductconfigruntimemock.
      Parameters:
      value - the currentConfigState - mock configuration content
    • setExternalConfigState

      @Accessor(qualifier="externalConfigState", type=SETTER) public void setExternalConfigState(Object value)
      Generated method - Setter of ProductConfigurationMock.externalConfigState attribute defined at extension sapproductconfigruntimemock.
      Parameters:
      value - the externalConfigState - mock configuration content of an external Configuration