Liferay 6.0.5

com.liferay.portal.model.impl
Class ReleaseModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Release>
      extended by com.liferay.portal.model.impl.ReleaseModelImpl
All Implemented Interfaces:
BaseModel<Release>, ReleaseModel, Serializable, Cloneable, Comparable<Release>
Direct Known Subclasses:
ReleaseImpl

public class ReleaseModelImpl
extends BaseModelImpl<Release>
implements ReleaseModel

The base model implementation for the Release service. Represents a row in the "Release_" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ReleaseModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ReleaseImpl.

Never modify or reference this class directly. All methods that expect a release model instance should use the Release interface instead.

See Also:
ReleaseImpl, Release, ReleaseModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
ReleaseModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Release release)
           
 boolean equals(Object obj)
           
 Date getBuildDate()
          Gets the build date of this release.
 int getBuildNumber()
          Gets the build number of this release.
 Date getCreateDate()
          Gets the create date of this release.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getModifiedDate()
          Gets the modified date of this release.
 String getOriginalServletContextName()
           
 long getPrimaryKey()
          Gets the primary key of this release.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getReleaseId()
          Gets the release id of this release.
 String getServletContextName()
          Gets the servlet context name of this release.
 String getTestString()
          Gets the test string of this release.
 boolean getVerified()
          Gets the verified of this release.
 int hashCode()
           
 boolean isVerified()
          Determines whether this release is verified.
 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 setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this release.
 void setPrimaryKey(long pk)
          Sets the primary key of this release
 void setReleaseId(long releaseId)
          Sets the release id of this release.
 void setServletContextName(String servletContextName)
          Sets the servlet context name of this release.
 void setTestString(String testString)
          Sets the test string of this release.
 void setVerified(boolean verified)
          Sets whether this {$entity.humanName} is verified.
 Release toEscapedModel()
          Gets a copy of this release as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.ReleaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ReleaseModelImpl

public ReleaseModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ReleaseModel
Gets the primary key of this release.

Specified by:
getPrimaryKey in interface ReleaseModel
Returns:
the primary key of this release

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: ReleaseModel
Sets the primary key of this release

Specified by:
setPrimaryKey in interface ReleaseModel
Parameters:
pk - the primary key of this release

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Release>
Specified by:
getPrimaryKeyObj in interface ReleaseModel
Returns:
the primary key of this model instance

getReleaseId

public long getReleaseId()
Description copied from interface: ReleaseModel
Gets the release id of this release.

Specified by:
getReleaseId in interface ReleaseModel
Returns:
the release id of this release

setReleaseId

public void setReleaseId(long releaseId)
Description copied from interface: ReleaseModel
Sets the release id of this release.

Specified by:
setReleaseId in interface ReleaseModel
Parameters:
releaseId - the release id of this release

getCreateDate

public Date getCreateDate()
Description copied from interface: ReleaseModel
Gets the create date of this release.

Specified by:
getCreateDate in interface ReleaseModel
Returns:
the create date of this release

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: ReleaseModel
Sets the create date of this release.

Specified by:
setCreateDate in interface ReleaseModel
Parameters:
createDate - the create date of this release

getModifiedDate

public Date getModifiedDate()
Description copied from interface: ReleaseModel
Gets the modified date of this release.

Specified by:
getModifiedDate in interface ReleaseModel
Returns:
the modified date of this release

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: ReleaseModel
Sets the modified date of this release.

Specified by:
setModifiedDate in interface ReleaseModel
Parameters:
modifiedDate - the modified date of this release

getServletContextName

public String getServletContextName()
Description copied from interface: ReleaseModel
Gets the servlet context name of this release.

Specified by:
getServletContextName in interface ReleaseModel
Returns:
the servlet context name of this release

setServletContextName

public void setServletContextName(String servletContextName)
Description copied from interface: ReleaseModel
Sets the servlet context name of this release.

Specified by:
setServletContextName in interface ReleaseModel
Parameters:
servletContextName - the servlet context name of this release

getOriginalServletContextName

public String getOriginalServletContextName()

getBuildNumber

public int getBuildNumber()
Description copied from interface: ReleaseModel
Gets the build number of this release.

Specified by:
getBuildNumber in interface ReleaseModel
Returns:
the build number of this release

setBuildNumber

public void setBuildNumber(int buildNumber)
Description copied from interface: ReleaseModel
Sets the build number of this release.

Specified by:
setBuildNumber in interface ReleaseModel
Parameters:
buildNumber - the build number of this release

getBuildDate

public Date getBuildDate()
Description copied from interface: ReleaseModel
Gets the build date of this release.

Specified by:
getBuildDate in interface ReleaseModel
Returns:
the build date of this release

setBuildDate

public void setBuildDate(Date buildDate)
Description copied from interface: ReleaseModel
Sets the build date of this release.

Specified by:
setBuildDate in interface ReleaseModel
Parameters:
buildDate - the build date of this release

getVerified

public boolean getVerified()
Description copied from interface: ReleaseModel
Gets the verified of this release.

Specified by:
getVerified in interface ReleaseModel
Returns:
the verified of this release

isVerified

public boolean isVerified()
Description copied from interface: ReleaseModel
Determines whether this release is verified.

Specified by:
isVerified in interface ReleaseModel
Returns:
whether this release is verified

setVerified

public void setVerified(boolean verified)
Description copied from interface: ReleaseModel
Sets whether this {$entity.humanName} is verified.

Specified by:
setVerified in interface ReleaseModel
Parameters:
verified - the verified of this release

getTestString

public String getTestString()
Description copied from interface: ReleaseModel
Gets the test string of this release.

Specified by:
getTestString in interface ReleaseModel
Returns:
the test string of this release

setTestString

public void setTestString(String testString)
Description copied from interface: ReleaseModel
Sets the test string of this release.

Specified by:
setTestString in interface ReleaseModel
Parameters:
testString - the test string of this release

toEscapedModel

public Release toEscapedModel()
Description copied from interface: ReleaseModel
Gets a copy of this release as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface ReleaseModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Release>
Specified by:
getExpandoBridge in interface ReleaseModel
Overrides:
getExpandoBridge in class BaseModelImpl<Release>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Release>
Specified by:
setExpandoBridgeAttributes in interface ReleaseModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Release>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Release>
Specified by:
clone in interface ReleaseModel
Specified by:
clone in class BaseModelImpl<Release>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Release release)
Specified by:
compareTo in interface ReleaseModel
Specified by:
compareTo in interface Comparable<Release>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface ReleaseModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface ReleaseModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Release>
Specified by:
toXmlString in interface ReleaseModel
Returns:
the XML representation of this model instance

Liferay 6.0.5