public class ResourceActionWrapper extends BaseModelWrapper<ResourceAction> implements ModelWrapper<ResourceAction>, ResourceAction
This class is a wrapper for ResourceAction
.
ResourceAction
,
Serialized Formmodel
RESOURCE_ACTION_ID_ACCESSOR
Constructor and Description |
---|
ResourceActionWrapper(ResourceAction resourceAction) |
Modifier and Type | Method and Description |
---|---|
ResourceAction |
cloneWithOriginalValues() |
String |
getActionId()
Returns the action ID of this resource action.
|
long |
getBitwiseValue()
Returns the bitwise value of this resource action.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this resource action.
|
String |
getName()
Returns the name of this resource action.
|
long |
getPrimaryKey()
Returns the primary key of this resource action.
|
long |
getResourceActionId()
Returns the resource action ID of this resource action.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActionId(String actionId)
Sets the action ID of this resource action.
|
void |
setBitwiseValue(long bitwiseValue)
Sets the bitwise value of this resource action.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this resource action.
|
void |
setName(String name)
Sets the name of this resource action.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource action.
|
void |
setResourceActionId(long resourceActionId)
Sets the resource action ID of this resource action.
|
String |
toXmlString() |
protected ResourceActionWrapper |
wrap(ResourceAction resourceAction) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
public ResourceActionWrapper(ResourceAction resourceAction)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceAction>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ResourceAction>
public ResourceAction cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<ResourceAction>
cloneWithOriginalValues
in interface ResourceActionModel
public String getActionId()
getActionId
in interface ResourceActionModel
public long getBitwiseValue()
getBitwiseValue
in interface ResourceActionModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ResourceActionModel
public String getName()
getName
in interface ResourceActionModel
public long getPrimaryKey()
getPrimaryKey
in interface ResourceActionModel
public long getResourceActionId()
getResourceActionId
in interface ResourceActionModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setActionId(String actionId)
setActionId
in interface ResourceActionModel
actionId
- the action ID of this resource actionpublic void setBitwiseValue(long bitwiseValue)
setBitwiseValue
in interface ResourceActionModel
bitwiseValue
- the bitwise value of this resource actionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ResourceActionModel
mvccVersion
- the mvcc version of this resource actionpublic void setName(String name)
setName
in interface ResourceActionModel
name
- the name of this resource actionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ResourceActionModel
primaryKey
- the primary key of this resource actionpublic void setResourceActionId(long resourceActionId)
setResourceActionId
in interface ResourceActionModel
resourceActionId
- the resource action ID of this resource actionpublic String toXmlString()
toXmlString
in interface ResourceActionModel
protected ResourceActionWrapper wrap(ResourceAction resourceAction)
wrap
in class BaseModelWrapper<ResourceAction>