public class CTMessageWrapper extends BaseModelWrapper<CTMessage> implements CTMessage, ModelWrapper<CTMessage>
This class is a wrapper for CTMessage.
CTMessage,
Serialized FormmodelCT_MESSAGE_ID_ACCESSOR| Constructor and Description |
|---|
CTMessageWrapper(CTMessage ctMessage) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this ct message.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ct message.
|
long |
getCtMessageId()
Returns the ct message ID of this ct message.
|
java.lang.String |
getMessageContent()
Returns the message content of this ct message.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ct message.
|
long |
getPrimaryKey()
Returns the primary key of this ct message.
|
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 ct message.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ct message.
|
void |
setCtMessageId(long ctMessageId)
Sets the ct message ID of this ct message.
|
void |
setMessageContent(java.lang.String messageContent)
Sets the message content of this ct message.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ct message.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ct message.
|
protected CTMessageWrapper |
wrap(CTMessage ctMessage) |
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 CTMessageWrapper(CTMessage ctMessage)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<CTMessage>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<CTMessage>public long getCompanyId()
getCompanyId in interface CTMessageModelgetCompanyId in interface ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface CTMessageModelpublic long getCtMessageId()
getCtMessageId in interface CTMessageModelpublic java.lang.String getMessageContent()
getMessageContent in interface CTMessageModelpublic long getMvccVersion()
getMvccVersion in interface CTMessageModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CTMessageModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface CTMessageModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this ct messagepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTMessageModelctCollectionId - the ct collection ID of this ct messagepublic void setCtMessageId(long ctMessageId)
setCtMessageId in interface CTMessageModelctMessageId - the ct message ID of this ct messagepublic void setMessageContent(java.lang.String messageContent)
setMessageContent in interface CTMessageModelmessageContent - the message content of this ct messagepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CTMessageModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this ct messagepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTMessageModelprimaryKey - the primary key of this ct messageprotected CTMessageWrapper wrap(CTMessage ctMessage)
wrap in class BaseModelWrapper<CTMessage>