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}
  • Constructor Details

    • ReleaseWrapper

      public ReleaseWrapper(Release release)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<Release>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<Release>
    • cloneWithOriginalValues

      public Release cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Release>
      Specified by:
      cloneWithOriginalValues in interface ReleaseModel
    • getBuildDate

      public Date getBuildDate()
      Returns the build date of this release.
      Specified by:
      getBuildDate in interface ReleaseModel
      Returns:
      the build date of this release
    • getBuildNumber

      public int getBuildNumber()
      Returns the build number of this release.
      Specified by:
      getBuildNumber in interface ReleaseModel
      Returns:
      the build number of this release
    • getBundleSymbolicName

      public String getBundleSymbolicName()
      Specified by:
      getBundleSymbolicName in interface Release
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this release.
      Specified by:
      getCreateDate in interface ReleaseModel
      Returns:
      the create date of this release
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this release.
      Specified by:
      getModifiedDate in interface ReleaseModel
      Returns:
      the modified date of this release
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this release.
      Specified by:
      getMvccVersion in interface MVCCModel
      Specified by:
      getMvccVersion in interface ReleaseModel
      Returns:
      the mvcc version of this release
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this release.
      Specified by:
      getPrimaryKey in interface ReleaseModel
      Returns:
      the primary key of this release
    • getReleaseId

      public long getReleaseId()
      Returns the release ID of this release.
      Specified by:
      getReleaseId in interface ReleaseModel
      Returns:
      the release ID of this release
    • getSchemaVersion

      public String getSchemaVersion()
      Returns the schema version of this release.
      Specified by:
      getSchemaVersion in interface ReleaseModel
      Returns:
      the schema version of this release
    • getServletContextName

      public String getServletContextName()
      Returns the servlet context name of this release.
      Specified by:
      getServletContextName in interface ReleaseModel
      Returns:
      the servlet context name of this release
    • getState

      public int getState()
      Returns the state of this release.
      Specified by:
      getState in interface ReleaseModel
      Returns:
      the state of this release
    • getTestString

      public String getTestString()
      Returns the test string of this release.
      Specified by:
      getTestString in interface ReleaseModel
      Returns:
      the test string of this release
    • getVerified

      public boolean getVerified()
      Returns the verified of this release.
      Specified by:
      getVerified in interface ReleaseModel
      Returns:
      the verified of this release
    • isVerified

      public boolean isVerified()
      Returns true if this release is verified.
      Specified by:
      isVerified in interface ReleaseModel
      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 interface PersistedModel
    • setBuildDate

      public void setBuildDate(Date buildDate)
      Sets the build date of this release.
      Specified by:
      setBuildDate in interface ReleaseModel
      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 interface ReleaseModel
      Parameters:
      buildNumber - the build number of this release
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this release.
      Specified by:
      setCreateDate in interface ReleaseModel
      Parameters:
      createDate - the create date of this release
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this release.
      Specified by:
      setModifiedDate in interface ReleaseModel
      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 interface MVCCModel
      Specified by:
      setMvccVersion in interface ReleaseModel
      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 interface ReleaseModel
      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 interface ReleaseModel
      Parameters:
      releaseId - the release ID of this release
    • setSchemaVersion

      public void setSchemaVersion(String schemaVersion)
      Sets the schema version of this release.
      Specified by:
      setSchemaVersion in interface ReleaseModel
      Parameters:
      schemaVersion - the schema version of this release
    • setServletContextName

      public void setServletContextName(String servletContextName)
      Sets the servlet context name of this release.
      Specified by:
      setServletContextName in interface ReleaseModel
      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 interface ReleaseModel
      Parameters:
      state - the state of this release
    • setTestString

      public void setTestString(String testString)
      Sets the test string of this release.
      Specified by:
      setTestString in interface ReleaseModel
      Parameters:
      testString - the test string of this release
    • setVerified

      public void setVerified(boolean verified)
      Sets whether this release is verified.
      Specified by:
      setVerified in interface ReleaseModel
      Parameters:
      verified - the verified of this release
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface ReleaseModel
    • wrap

      protected ReleaseWrapper wrap(Release release)
      Specified by:
      wrap in class BaseModelWrapper<Release>