Class AbstractActionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.servicelayer.model.action.AbstractActionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CxAbstractActionModel
,SimpleActionModel
public class AbstractActionModel extends ItemModel
Generated model class for type AbstractAction first defined at extension processing.- 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
_TYPECODE
Generated model type code constant.static java.lang.String
CODE
Generated constant - Attribute key ofAbstractAction.code
attribute defined at extensionprocessing
.static java.lang.String
TARGET
Generated constant - Attribute key ofAbstractAction.target
attribute defined at extensionprocessing
.static java.lang.String
TYPE
Generated constant - Attribute key ofAbstractAction.type
attribute defined at extensionprocessing
.-
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 AbstractActionModel()
Generated constructor - Default constructor for generic creation.AbstractActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextAbstractActionModel(java.lang.String _code, ItemModel _owner, java.lang.String _target, ActionType _type)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractActionModel(java.lang.String _code, java.lang.String _target, ActionType _type)
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.lang.String
getCode()
Generated method - Getter of theAbstractAction.code
attribute defined at extensionprocessing
.java.lang.String
getTarget()
Generated method - Getter of theAbstractAction.target
attribute defined at extensionprocessing
.ActionType
getType()
Generated method - Getter of theAbstractAction.type
attribute defined at extensionprocessing
.void
setCode(java.lang.String value)
Generated method - Initial setter ofAbstractAction.code
attribute defined at extensionprocessing
.void
setTarget(java.lang.String value)
Generated method - Initial setter ofAbstractAction.target
attribute defined at extensionprocessing
.void
setType(ActionType value)
Generated method - Initial setter ofAbstractAction.type
attribute defined at extensionprocessing
.-
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 ofAbstractAction.code
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofAbstractAction.type
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
TARGET
public static final java.lang.String TARGET
Generated constant - Attribute key ofAbstractAction.target
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractActionModel
public AbstractActionModel()
Generated constructor - Default constructor for generic creation.
-
AbstractActionModel
public AbstractActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
AbstractActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractActionModel(java.lang.String _code, java.lang.String _target, ActionType _type)
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:
_code
- initial attribute declared by typeAbstractAction
at extensionprocessing
_target
- initial attribute declared by typeAbstractAction
at extensionprocessing
_type
- initial attribute declared by typeAbstractAction
at extensionprocessing
-
AbstractActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractActionModel(java.lang.String _code, ItemModel _owner, java.lang.String _target, ActionType _type)
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:
_code
- initial attribute declared by typeAbstractAction
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
_target
- initial attribute declared by typeAbstractAction
at extensionprocessing
_type
- initial attribute declared by typeAbstractAction
at extensionprocessing
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractAction.code
attribute defined at extensionprocessing
.- Returns:
- the code
-
getTarget
@Accessor(qualifier="target", type=GETTER) public java.lang.String getTarget()
Generated method - Getter of theAbstractAction.target
attribute defined at extensionprocessing
.- Returns:
- the target
-
getType
@Accessor(qualifier="type", type=GETTER) public ActionType getType()
Generated method - Getter of theAbstractAction.type
attribute defined at extensionprocessing
.- Returns:
- the type
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofAbstractAction.code
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the code
-
setTarget
@Accessor(qualifier="target", type=SETTER) public void setTarget(java.lang.String value)
Generated method - Initial setter ofAbstractAction.target
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the target
-
setType
@Accessor(qualifier="type", type=SETTER) public void setType(ActionType value)
Generated method - Initial setter ofAbstractAction.type
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the type
-
-