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.long
Returns the class name ID of this class name.long
Returns the mvcc version of this class name.long
Returns the primary key of this class name.getValue()
Returns the value of this class name.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this class name.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
Sets the value of this class name.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods 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:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this class name
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this class name.- Specified by:
setMvccVersion
in 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:
getClassName
in 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:
getClassNameId
in 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:
setClassNameId
in 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:
cloneWithOriginalValues
in interfaceBaseModel<ClassName>
-
toXmlString
-