Package com.liferay.portal.kernel.model
Interface ClassNameModel
- All Superinterfaces:
BaseModel<ClassName>,ClassedModel,Cloneable,Comparable<ClassName>,MVCCModel,Serializable,TypedModel
- All Known Subinterfaces:
ClassName
- All Known Implementing Classes:
ClassNameWrapper
The base model interface for the ClassName service. Represents a row in the "ClassName_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.ClassNameModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ClassNameImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this class name.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this class name.- Returns:
- the primary key of this class name
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this class name.- Parameters:
primaryKey- the primary key of this class name
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this class name.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this class name
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this class name.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this class name
-
getClassName
String getClassName()Returns the fully qualified class name of this class name.- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this class name
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this class name.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this class name
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this class name.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this class name
-
getValue
Returns the value of this class name.- Returns:
- the value of this class name
-
setValue
Sets the value of this class name.- Parameters:
value- the value of this class name
-
cloneWithOriginalValues
ClassName cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ClassName>
-
toXmlString
-