public class ResourceActionWrapper extends BaseModelWrapper<ResourceAction> implements ModelWrapper<ResourceAction>, ResourceAction
This class is a wrapper for ResourceAction.
ResourceAction,
Serialized FormmodelRESOURCE_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.
|
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, toXmlStringgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic 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 ResourceActionModelpublic String getActionId()
getActionId in interface ResourceActionModelpublic long getBitwiseValue()
getBitwiseValue in interface ResourceActionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceActionModelpublic String getName()
getName in interface ResourceActionModelpublic long getPrimaryKey()
getPrimaryKey in interface ResourceActionModelpublic long getResourceActionId()
getResourceActionId in interface ResourceActionModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActionId(String actionId)
setActionId in interface ResourceActionModelactionId - the action ID of this resource actionpublic void setBitwiseValue(long bitwiseValue)
setBitwiseValue in interface ResourceActionModelbitwiseValue - the bitwise value of this resource actionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceActionModelmvccVersion - the mvcc version of this resource actionpublic void setName(String name)
setName in interface ResourceActionModelname - the name of this resource actionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceActionModelprimaryKey - the primary key of this resource actionpublic void setResourceActionId(long resourceActionId)
setResourceActionId in interface ResourceActionModelresourceActionId - the resource action ID of this resource actionprotected ResourceActionWrapper wrap(ResourceAction resourceAction)
wrap in class BaseModelWrapper<ResourceAction>