Package com.liferay.portal.kernel.model
Class ReleaseWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Release>
com.liferay.portal.kernel.model.ReleaseWrapper
- All Implemented Interfaces:
BaseModel<Release>
,ClassedModel
,ModelWrapper<Release>
,MVCCModel
,PersistedModel
,Release
,ReleaseModel
,Serializable
,Cloneable
,Comparable<Release>
public class ReleaseWrapper
extends BaseModelWrapper<Release>
implements ModelWrapper<Release>, Release
This class is a wrapper for Release
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Release
RELEASE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the build date of this release.int
Returns the build number of this release.Returns the create date of this release.Returns the modified date of this release.long
Returns the mvcc version of this release.long
Returns the primary key of this release.long
Returns the release ID of this release.Returns the schema version of this release.Returns the servlet context name of this release.int
getState()
Returns the state of this release.Returns the test string of this release.boolean
Returns the verified of this release.boolean
Returnstrue
if this release is verified.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setBuildDate
(Date buildDate) Sets the build date of this release.void
setBuildNumber
(int buildNumber) Sets the build number of this release.void
setCreateDate
(Date createDate) Sets the create date of this release.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this release.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this release.void
setPrimaryKey
(long primaryKey) Sets the primary key of this release.void
setReleaseId
(long releaseId) Sets the release ID of this release.void
setSchemaVersion
(String schemaVersion) Sets the schema version of this release.void
setServletContextName
(String servletContextName) Sets the servlet context name of this release.void
setState
(int state) Sets the state of this release.void
setTestString
(String testString) Sets the test string of this release.void
setVerified
(boolean verified) Sets whether this release is verified.protected ReleaseWrapper
Methods 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ReleaseWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Release>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Release>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Release>
- Specified by:
cloneWithOriginalValues
in interfaceReleaseModel
-
getBuildDate
Returns the build date of this release.- Specified by:
getBuildDate
in interfaceReleaseModel
- Returns:
- the build date of this release
-
getBuildNumber
public int getBuildNumber()Returns the build number of this release.- Specified by:
getBuildNumber
in interfaceReleaseModel
- Returns:
- the build number of this release
-
getBundleSymbolicName
- Specified by:
getBundleSymbolicName
in interfaceRelease
-
getCreateDate
Returns the create date of this release.- Specified by:
getCreateDate
in interfaceReleaseModel
- Returns:
- the create date of this release
-
getModifiedDate
Returns the modified date of this release.- Specified by:
getModifiedDate
in interfaceReleaseModel
- Returns:
- the modified date of this release
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this release.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceReleaseModel
- Returns:
- the mvcc version of this release
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this release.- Specified by:
getPrimaryKey
in interfaceReleaseModel
- Returns:
- the primary key of this release
-
getReleaseId
public long getReleaseId()Returns the release ID of this release.- Specified by:
getReleaseId
in interfaceReleaseModel
- Returns:
- the release ID of this release
-
getSchemaVersion
Returns the schema version of this release.- Specified by:
getSchemaVersion
in interfaceReleaseModel
- Returns:
- the schema version of this release
-
getServletContextName
Returns the servlet context name of this release.- Specified by:
getServletContextName
in interfaceReleaseModel
- Returns:
- the servlet context name of this release
-
getState
public int getState()Returns the state of this release.- Specified by:
getState
in interfaceReleaseModel
- Returns:
- the state of this release
-
getTestString
Returns the test string of this release.- Specified by:
getTestString
in interfaceReleaseModel
- Returns:
- the test string of this release
-
getVerified
public boolean getVerified()Returns the verified of this release.- Specified by:
getVerified
in interfaceReleaseModel
- Returns:
- the verified of this release
-
isVerified
public boolean isVerified()Returnstrue
if this release is verified.- Specified by:
isVerified
in interfaceReleaseModel
- Returns:
true
if this release is verified;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setBuildDate
Sets the build date of this release.- Specified by:
setBuildDate
in interfaceReleaseModel
- Parameters:
buildDate
- the build date of this release
-
setBuildNumber
public void setBuildNumber(int buildNumber) Sets the build number of this release.- Specified by:
setBuildNumber
in interfaceReleaseModel
- Parameters:
buildNumber
- the build number of this release
-
setCreateDate
Sets the create date of this release.- Specified by:
setCreateDate
in interfaceReleaseModel
- Parameters:
createDate
- the create date of this release
-
setModifiedDate
Sets the modified date of this release.- Specified by:
setModifiedDate
in interfaceReleaseModel
- Parameters:
modifiedDate
- the modified date of this release
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this release.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceReleaseModel
- Parameters:
mvccVersion
- the mvcc version of this release
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this release.- Specified by:
setPrimaryKey
in interfaceReleaseModel
- Parameters:
primaryKey
- the primary key of this release
-
setReleaseId
public void setReleaseId(long releaseId) Sets the release ID of this release.- Specified by:
setReleaseId
in interfaceReleaseModel
- Parameters:
releaseId
- the release ID of this release
-
setSchemaVersion
Sets the schema version of this release.- Specified by:
setSchemaVersion
in interfaceReleaseModel
- Parameters:
schemaVersion
- the schema version of this release
-
setServletContextName
Sets the servlet context name of this release.- Specified by:
setServletContextName
in interfaceReleaseModel
- Parameters:
servletContextName
- the servlet context name of this release
-
setState
public void setState(int state) Sets the state of this release.- Specified by:
setState
in interfaceReleaseModel
- Parameters:
state
- the state of this release
-
setTestString
Sets the test string of this release.- Specified by:
setTestString
in interfaceReleaseModel
- Parameters:
testString
- the test string of this release
-
setVerified
public void setVerified(boolean verified) Sets whether this release is verified.- Specified by:
setVerified
in interfaceReleaseModel
- Parameters:
verified
- the verified of this release
-
toXmlString
- Specified by:
toXmlString
in interfaceReleaseModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Release>
-