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