Class CxAbstractCalcConfigModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.personalizationservices.model.config.CxAbstractCalcConfigModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CxPeriodicVoterConfigModel,CxUrlVoterConfigModel
public class CxAbstractCalcConfigModel extends ItemModel
Generated model class for type CxAbstractCalcConfig first defined at extension personalizationservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIONSGenerated constant - Attribute key ofCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices.static java.lang.StringCODEGenerated constant - Attribute key ofCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices.static java.lang.StringUSERTYPEGenerated constant - Attribute key ofCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.-
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 CxAbstractCalcConfigModel()Generated constructor - Default constructor for generic creation.CxAbstractCalcConfigModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCxAbstractCalcConfigModel(java.util.Set<java.lang.String> _actions, 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 parametersCxAbstractCalcConfigModel(java.util.Set<java.lang.String> _actions, 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 java.util.Set<java.lang.String>getActions()Generated method - Getter of theCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices.java.lang.StringgetCode()Generated method - Getter of theCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices.CxUserTypegetUserType()Generated method - Getter of theCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.voidsetActions(java.util.Set<java.lang.String> value)Generated method - Setter ofCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices.voidsetUserType(CxUserType value)Generated method - Setter ofCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
USERTYPE
public static final java.lang.String USERTYPE
Generated constant - Attribute key ofCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CxAbstractCalcConfigModel
public CxAbstractCalcConfigModel()
Generated constructor - Default constructor for generic creation.
-
CxAbstractCalcConfigModel
public CxAbstractCalcConfigModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CxAbstractCalcConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public CxAbstractCalcConfigModel(java.util.Set<java.lang.String> _actions, 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_actions- initial attribute declared by typeCxAbstractCalcConfigat extensionpersonalizationservices_code- initial attribute declared by typeCxAbstractCalcConfigat extensionpersonalizationservices
-
CxAbstractCalcConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public CxAbstractCalcConfigModel(java.util.Set<java.lang.String> _actions, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_actions- initial attribute declared by typeCxAbstractCalcConfigat extensionpersonalizationservices_code- initial attribute declared by typeCxAbstractCalcConfigat extensionpersonalizationservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.util.Set<java.lang.String> getActions()
Generated method - Getter of theCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the actions - Collection of recalculate actions string representations
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices.- Returns:
- the code - Unique identifier
-
getUserType
@Accessor(qualifier="userType", type=GETTER) public CxUserType getUserType()
Generated method - Getter of theCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.- Returns:
- the userType - User type for which config is valid
-
setActions
@Accessor(qualifier="actions", type=SETTER) public void setActions(java.util.Set<java.lang.String> value)
Generated method - Setter ofCxAbstractCalcConfig.actionsattribute defined at extensionpersonalizationservices.- Parameters:
value- the actions - Collection of recalculate actions string representations
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofCxAbstractCalcConfig.codeattribute defined at extensionpersonalizationservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Unique identifier
-
setUserType
@Accessor(qualifier="userType", type=SETTER) public void setUserType(CxUserType value)
Generated method - Setter ofCxAbstractCalcConfig.userTypeattribute defined at extensionpersonalizationservices.- Parameters:
value- the userType - User type for which config is valid
-
-