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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.static final StringGenerated constant - Attribute key ofProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.static final StringGenerated constant - Attribute key ofProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextProductConfigurationMockModel(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 parametersProductConfigurationMockModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.Generated method - Getter of theProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.Generated method - Getter of theProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.voidsetConfigId(String value) Generated method - Setter ofProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.voidsetCurrentConfigState(Object value) Generated method - Setter ofProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.voidsetExternalConfigState(Object value) Generated method - Setter ofProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CONFIGID
Generated constant - Attribute key ofProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.- See Also:
-
CURRENTCONFIGSTATE
Generated constant - Attribute key ofProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.- See Also:
-
EXTERNALCONFIGSTATE
Generated constant - Attribute key ofProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.- See Also:
-
-
Constructor Details
-
ProductConfigurationMockModel
public ProductConfigurationMockModel()Generated constructor - Default constructor for generic creation. -
ProductConfigurationMockModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ProductConfigurationMockModel
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:
_configId- initial attribute declared by typeProductConfigurationMockat extensionsapproductconfigruntimemock
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_configId- initial attribute declared by typeProductConfigurationMockat extensionsapproductconfigruntimemock_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getConfigId
Generated method - Getter of theProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.- Returns:
- the configId - Id of the persisted mock configuration
-
getCurrentConfigState
Generated method - Getter of theProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.- Returns:
- the currentConfigState - mock configuration content
-
getExternalConfigState
Generated method - Getter of theProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.- Returns:
- the externalConfigState - mock configuration content of an external Configuration
-
setConfigId
Generated method - Setter ofProductConfigurationMock.configIdattribute defined at extensionsapproductconfigruntimemock.- Parameters:
value- the configId - Id of the persisted mock configuration
-
setCurrentConfigState
@Accessor(qualifier="currentConfigState", type=SETTER) public void setCurrentConfigState(Object value) Generated method - Setter ofProductConfigurationMock.currentConfigStateattribute defined at extensionsapproductconfigruntimemock.- Parameters:
value- the currentConfigState - mock configuration content
-
setExternalConfigState
@Accessor(qualifier="externalConfigState", type=SETTER) public void setExternalConfigState(Object value) Generated method - Setter ofProductConfigurationMock.externalConfigStateattribute defined at extensionsapproductconfigruntimemock.- Parameters:
value- the externalConfigState - mock configuration content of an external Configuration
-