Package com.liferay.portal.kernel.model
Interface ReleaseModel
- All Superinterfaces:
BaseModel<Release>,ClassedModel,Cloneable,Comparable<Release>,MVCCModel,Serializable
- All Known Subinterfaces:
Release
- All Known Implementing Classes:
ReleaseWrapper
The base model interface for the Release service. Represents a row in the "Release_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.ReleaseModelImpl 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.ReleaseImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the build date of this release.intReturns the build number of this release.Returns the create date of this release.Returns the modified date of this release.longReturns the mvcc version of this release.longReturns the primary key of this release.longReturns the release ID of this release.Returns the schema version of this release.Returns the servlet context name of this release.intgetState()Returns the state of this release.Returns the test string of this release.booleanReturns the verified of this release.booleanReturnstrueif this release is verified.voidsetBuildDate(Date buildDate) Sets the build date of this release.voidsetBuildNumber(int buildNumber) Sets the build number of this release.voidsetCreateDate(Date createDate) Sets the create date of this release.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this release.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this release.voidsetPrimaryKey(long primaryKey) Sets the primary key of this release.voidsetReleaseId(long releaseId) Sets the release ID of this release.voidsetSchemaVersion(String schemaVersion) Sets the schema version of this release.voidsetServletContextName(String servletContextName) Sets the servlet context name of this release.voidsetState(int state) Sets the state of this release.voidsetTestString(String testString) Sets the test string of this release.voidsetVerified(boolean verified) Sets whether this release is verified.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 release.- Returns:
- the primary key of this release
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this release.- Parameters:
primaryKey- the primary key of this release
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this release.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this release
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this release.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this release
-
getReleaseId
long getReleaseId()Returns the release ID of this release.- Returns:
- the release ID of this release
-
setReleaseId
void setReleaseId(long releaseId) Sets the release ID of this release.- Parameters:
releaseId- the release ID of this release
-
getCreateDate
Date getCreateDate()Returns the create date of this release.- Returns:
- the create date of this release
-
setCreateDate
Sets the create date of this release.- Parameters:
createDate- the create date of this release
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this release.- Returns:
- the modified date of this release
-
setModifiedDate
Sets the modified date of this release.- Parameters:
modifiedDate- the modified date of this release
-
getServletContextName
Returns the servlet context name of this release.- Returns:
- the servlet context name of this release
-
setServletContextName
Sets the servlet context name of this release.- Parameters:
servletContextName- the servlet context name of this release
-
getSchemaVersion
Returns the schema version of this release.- Returns:
- the schema version of this release
-
setSchemaVersion
Sets the schema version of this release.- Parameters:
schemaVersion- the schema version of this release
-
getBuildNumber
int getBuildNumber()Returns the build number of this release.- Returns:
- the build number of this release
-
setBuildNumber
void setBuildNumber(int buildNumber) Sets the build number of this release.- Parameters:
buildNumber- the build number of this release
-
getBuildDate
Date getBuildDate()Returns the build date of this release.- Returns:
- the build date of this release
-
setBuildDate
Sets the build date of this release.- Parameters:
buildDate- the build date of this release
-
getVerified
boolean getVerified()Returns the verified of this release.- Returns:
- the verified of this release
-
isVerified
boolean isVerified()Returnstrueif this release is verified.- Returns:
trueif this release is verified;falseotherwise
-
setVerified
void setVerified(boolean verified) Sets whether this release is verified.- Parameters:
verified- the verified of this release
-
getState
int getState()Returns the state of this release.- Returns:
- the state of this release
-
setState
void setState(int state) Sets the state of this release.- Parameters:
state- the state of this release
-
getTestString
Returns the test string of this release.- Returns:
- the test string of this release
-
setTestString
Sets the test string of this release.- Parameters:
testString- the test string of this release
-
cloneWithOriginalValues
Release cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Release>
-
toXmlString
-