Package com.liferay.portal.kernel.model
Class ClassNameWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ClassName>
com.liferay.portal.kernel.model.ClassNameWrapper
- All Implemented Interfaces:
BaseModel<ClassName>,ClassedModel,ClassName,ClassNameModel,ModelWrapper<ClassName>,MVCCModel,PersistedModel,TypedModel,Serializable,Cloneable,Comparable<ClassName>
public class ClassNameWrapper
extends BaseModelWrapper<ClassName>
implements ClassName, ModelWrapper<ClassName>
This class is a wrapper for ClassName.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.ClassName
CLASS_NAME_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this class name.longReturns the class name ID of this class name.longReturns the mvcc version of this class name.longReturns the primary key of this class name.getValue()Returns the value of this class name.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this class name.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this class name.voidsetPrimaryKey(long primaryKey) Sets the primary key of this class name.voidSets the value of this class name.protected ClassNameWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ClassNameWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ClassName>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ClassName>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ClassName>- Specified by:
cloneWithOriginalValuesin interfaceClassNameModel
-
getClassName
Returns the fully qualified class name of this class name.- Specified by:
getClassNamein interfaceClassNameModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this class name
-
getClassNameId
public long getClassNameId()Returns the class name ID of this class name.- Specified by:
getClassNameIdin interfaceClassNameModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this class name
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this class name.- Specified by:
getMvccVersionin interfaceClassNameModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this class name
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this class name.- Specified by:
getPrimaryKeyin interfaceClassNameModel- Returns:
- the primary key of this class name
-
getValue
Returns the value of this class name.- Specified by:
getValuein interfaceClassNameModel- Returns:
- the value of this class name
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceClassNameModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this class name.- Specified by:
setClassNameIdin interfaceClassNameModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this class name
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this class name.- Specified by:
setMvccVersionin interfaceClassNameModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this class name
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this class name.- Specified by:
setPrimaryKeyin interfaceClassNameModel- Parameters:
primaryKey- the primary key of this class name
-
setValue
Sets the value of this class name.- Specified by:
setValuein interfaceClassNameModel- Parameters:
value- the value of this class name
-
toXmlString
- Specified by:
toXmlStringin interfaceClassNameModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ClassName>
-