public class KaleoNodeWrapper extends BaseModelWrapper<KaleoNode> implements KaleoNode, ModelWrapper<KaleoNode>
This class is a wrapper for KaleoNode.
KaleoNode,
Serialized FormmodelKALEO_NODE_ID_ACCESSOR| Constructor and Description |
|---|
KaleoNodeWrapper(KaleoNode kaleoNode) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this kaleo node.
|
java.util.Date |
getCreateDate()
Returns the create date of this kaleo node.
|
KaleoTransition |
getDefaultKaleoTransition() |
java.lang.String |
getDescription()
Returns the description of this kaleo node.
|
long |
getGroupId()
Returns the group ID of this kaleo node.
|
boolean |
getInitial()
Returns the initial of this kaleo node.
|
long |
getKaleoDefinitionId()
Returns the kaleo definition ID of this kaleo node.
|
long |
getKaleoDefinitionVersionId()
Returns the kaleo definition version ID of this kaleo node.
|
long |
getKaleoNodeId()
Returns the kaleo node ID of this kaleo node.
|
KaleoTransition |
getKaleoTransition(java.lang.String name) |
java.util.List<KaleoTransition> |
getKaleoTransitions() |
java.lang.String |
getMetadata()
Returns the metadata of this kaleo node.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kaleo node.
|
long |
getMvccVersion()
Returns the mvcc version of this kaleo node.
|
java.lang.String |
getName()
Returns the name of this kaleo node.
|
long |
getPrimaryKey()
Returns the primary key of this kaleo node.
|
boolean |
getTerminal()
Returns the terminal of this kaleo node.
|
java.lang.String |
getType()
Returns the type of this kaleo node.
|
long |
getUserId()
Returns the user ID of this kaleo node.
|
java.lang.String |
getUserName()
Returns the user name of this kaleo node.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kaleo node.
|
boolean |
hasKaleoTransition() |
boolean |
isInitial()
Returns
true if this kaleo node is initial. |
boolean |
isTerminal()
Returns
true if this kaleo node is terminal. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this kaleo node.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kaleo node.
|
void |
setDescription(java.lang.String description)
Sets the description of this kaleo node.
|
void |
setGroupId(long groupId)
Sets the group ID of this kaleo node.
|
void |
setInitial(boolean initial)
Sets whether this kaleo node is initial.
|
void |
setKaleoDefinitionId(long kaleoDefinitionId)
Sets the kaleo definition ID of this kaleo node.
|
void |
setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Sets the kaleo definition version ID of this kaleo node.
|
void |
setKaleoNodeId(long kaleoNodeId)
Sets the kaleo node ID of this kaleo node.
|
void |
setMetadata(java.lang.String metadata)
Sets the metadata of this kaleo node.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kaleo node.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kaleo node.
|
void |
setName(java.lang.String name)
Sets the name of this kaleo node.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kaleo node.
|
void |
setTerminal(boolean terminal)
Sets whether this kaleo node is terminal.
|
void |
setType(java.lang.String type)
Sets the type of this kaleo node.
|
void |
setUserId(long userId)
Sets the user ID of this kaleo node.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kaleo node.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kaleo node.
|
protected KaleoNodeWrapper |
wrap(KaleoNode kaleoNode) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic KaleoNodeWrapper(KaleoNode kaleoNode)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<KaleoNode>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<KaleoNode>public long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface KaleoNodeModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface KaleoNodeModelpublic KaleoTransition getDefaultKaleoTransition() throws PortalException
getDefaultKaleoTransition in interface KaleoNodePortalExceptionpublic java.lang.String getDescription()
getDescription in interface KaleoNodeModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface KaleoNodeModelpublic boolean getInitial()
getInitial in interface KaleoNodeModelpublic long getKaleoDefinitionId()
getKaleoDefinitionId in interface KaleoNodeModelpublic long getKaleoDefinitionVersionId()
getKaleoDefinitionVersionId in interface KaleoNodeModelpublic long getKaleoNodeId()
getKaleoNodeId in interface KaleoNodeModelpublic KaleoTransition getKaleoTransition(java.lang.String name) throws PortalException
getKaleoTransition in interface KaleoNodePortalExceptionpublic java.util.List<KaleoTransition> getKaleoTransitions()
getKaleoTransitions in interface KaleoNodepublic java.lang.String getMetadata()
getMetadata in interface KaleoNodeModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface KaleoNodeModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface KaleoNodeModelpublic java.lang.String getName()
getName in interface KaleoNodeModelpublic long getPrimaryKey()
getPrimaryKey in interface KaleoNodeModelpublic boolean getTerminal()
getTerminal in interface KaleoNodeModelpublic java.lang.String getType()
getType in interface KaleoNodeModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface KaleoNodeModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface KaleoNodeModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface KaleoNodeModelpublic boolean hasKaleoTransition()
hasKaleoTransition in interface KaleoNodepublic boolean isInitial()
true if this kaleo node is initial.isInitial in interface KaleoNodeModeltrue if this kaleo node is initial; false otherwisepublic boolean isTerminal()
true if this kaleo node is terminal.isTerminal in interface KaleoNodeModeltrue if this kaleo node is terminal; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface KaleoNodeModelcompanyId - the company ID of this kaleo nodepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface KaleoNodeModelcreateDate - the create date of this kaleo nodepublic void setDescription(java.lang.String description)
setDescription in interface KaleoNodeModeldescription - the description of this kaleo nodepublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface KaleoNodeModelgroupId - the group ID of this kaleo nodepublic void setInitial(boolean initial)
setInitial in interface KaleoNodeModelinitial - the initial of this kaleo nodepublic void setKaleoDefinitionId(long kaleoDefinitionId)
setKaleoDefinitionId in interface KaleoNodeModelkaleoDefinitionId - the kaleo definition ID of this kaleo nodepublic void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
setKaleoDefinitionVersionId in interface KaleoNodeModelkaleoDefinitionVersionId - the kaleo definition version ID of this kaleo nodepublic void setKaleoNodeId(long kaleoNodeId)
setKaleoNodeId in interface KaleoNodeModelkaleoNodeId - the kaleo node ID of this kaleo nodepublic void setMetadata(java.lang.String metadata)
setMetadata in interface KaleoNodeModelmetadata - the metadata of this kaleo nodepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface KaleoNodeModelmodifiedDate - the modified date of this kaleo nodepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface KaleoNodeModelmvccVersion - the mvcc version of this kaleo nodepublic void setName(java.lang.String name)
setName in interface KaleoNodeModelname - the name of this kaleo nodepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface KaleoNodeModelprimaryKey - the primary key of this kaleo nodepublic void setTerminal(boolean terminal)
setTerminal in interface KaleoNodeModelterminal - the terminal of this kaleo nodepublic void setType(java.lang.String type)
setType in interface KaleoNodeModeltype - the type of this kaleo nodepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface KaleoNodeModeluserId - the user ID of this kaleo nodepublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface KaleoNodeModeluserName - the user name of this kaleo nodepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface KaleoNodeModeluserUuid - the user uuid of this kaleo nodeprotected KaleoNodeWrapper wrap(KaleoNode kaleoNode)
wrap in class BaseModelWrapper<KaleoNode>