public class TrashVersionWrapper extends BaseModelWrapper<TrashVersion> implements ModelWrapper<TrashVersion>, TrashVersion
This class is a wrapper for TrashVersion.
TrashVersion,
Serialized FormmodelVERSION_ID_ACCESSOR| Constructor and Description |
|---|
TrashVersionWrapper(TrashVersion trashVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.function.Function<TrashVersion,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashVersion,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this trash version.
|
long |
getClassNameId()
Returns the class name ID of this trash version.
|
long |
getClassPK()
Returns the class pk of this trash version.
|
long |
getCompanyId()
Returns the company ID of this trash version.
|
long |
getCtCollectionId()
Returns the ct collection ID of this trash version.
|
long |
getEntryId()
Returns the entry ID of this trash version.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this trash version.
|
long |
getPrimaryKey()
Returns the primary key of this trash version.
|
int |
getStatus()
Returns the status of this trash version.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this trash version.
|
UnicodeProperties |
getTypeSettingsProperties() |
java.lang.String |
getTypeSettingsProperty(java.lang.String key) |
java.lang.String |
getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue) |
long |
getVersionId()
Returns the version ID of this trash version.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this trash version.
|
void |
setClassPK(long classPK)
Sets the class pk of this trash version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this trash version.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this trash version.
|
void |
setEntryId(long entryId)
Sets the entry ID of this trash version.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this trash version.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash version.
|
void |
setStatus(int status)
Sets the status of this trash version.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this trash version.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) |
void |
setVersionId(long versionId)
Sets the version ID of this trash version.
|
protected TrashVersionWrapper |
wrap(TrashVersion trashVersion) |
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, waitgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic TrashVersionWrapper(TrashVersion trashVersion)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<TrashVersion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<TrashVersion>public java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface TrashVersionModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface TrashVersionModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TrashVersionModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface TrashVersionModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<TrashVersion>getCtCollectionId in interface TrashVersionModelpublic long getEntryId()
getEntryId in interface TrashVersionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface TrashVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<TrashVersion>getPrimaryKey in interface TrashVersionModelpublic int getStatus()
getStatus in interface TrashVersionModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface TrashVersionModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface TrashVersionpublic java.lang.String getTypeSettingsProperty(java.lang.String key)
getTypeSettingsProperty in interface TrashVersionpublic java.lang.String getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue)
getTypeSettingsProperty in interface TrashVersionpublic long getVersionId()
getVersionId in interface TrashVersionModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface TrashVersionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface TrashVersionModelclassNameId - the class name ID of this trash versionpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TrashVersionModelclassPK - the class pk of this trash versionpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface TrashVersionModelcompanyId - the company ID of this trash versionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<TrashVersion>setCtCollectionId in interface TrashVersionModelctCollectionId - the ct collection ID of this trash versionpublic void setEntryId(long entryId)
setEntryId in interface TrashVersionModelentryId - the entry ID of this trash versionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface TrashVersionModelmvccVersion - the mvcc version of this trash versionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<TrashVersion>setPrimaryKey in interface TrashVersionModelprimaryKey - the primary key of this trash versionpublic void setStatus(int status)
setStatus in interface TrashVersionModelstatus - the status of this trash versionpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface TrashVersionModeltypeSettings - the type settings of this trash versionpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface TrashVersionpublic void setVersionId(long versionId)
setVersionId in interface TrashVersionModelversionId - the version ID of this trash versionpublic java.util.Map<java.lang.String,java.util.function.Function<TrashVersion,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<TrashVersion>public java.util.Map<java.lang.String,java.util.function.BiConsumer<TrashVersion,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<TrashVersion>protected TrashVersionWrapper wrap(TrashVersion trashVersion)
wrap in class BaseModelWrapper<TrashVersion>