public class ClassNameWrapper extends BaseModelWrapper<ClassName> implements ClassName, ModelWrapper<ClassName>
This class is a wrapper for ClassName.
ClassName,
Serialized FormmodelCLASS_NAME_ID_ACCESSOR| Constructor and Description |
|---|
ClassNameWrapper(ClassName className) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Returns the fully qualified class name of this class name.
|
long |
getClassNameId()
Returns the class name ID of this class name.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this class name.
|
long |
getPrimaryKey()
Returns the primary key of this class name.
|
String |
getValue()
Returns the value of this class name.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this class name.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this class name.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this class name.
|
void |
setValue(String value)
Sets the value of this class name.
|
protected ClassNameWrapper |
wrap(ClassName className) |
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, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic ClassNameWrapper(ClassName className)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ClassName>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ClassName>public String getClassName()
getClassName in interface ClassNameModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface ClassNameModelgetClassNameId in interface TypedModelpublic long getMvccVersion()
getMvccVersion in interface ClassNameModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface ClassNameModelpublic String getValue()
getValue in interface ClassNameModelpublic void persist()
ClassName interface instead.persist in interface PersistedModelpublic void setClassName(String className)
setClassName in interface ClassNameModelpublic void setClassNameId(long classNameId)
setClassNameId in interface ClassNameModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this class namepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ClassNameModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this class namepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ClassNameModelprimaryKey - the primary key of this class namepublic void setValue(String value)
setValue in interface ClassNameModelvalue - the value of this class nameprotected ClassNameWrapper wrap(ClassName className)
wrap in class BaseModelWrapper<ClassName>