Liferay 6.2-ce-ga5

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>, ClassedModel, ReleaseModel, Serializable, Cloneable, Comparable<Release>
Direct Known Subclasses:
ReleaseBaseImpl

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.

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

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long RELEASEID_COLUMN_BITMASK
           
static long SERVLETCONTEXTNAME_COLUMN_BITMASK
           
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()
          Returns the build date of this release.
 int getBuildNumber()
          Returns the build number of this release.
 long getColumnBitmask()
           
 Date getCreateDate()
          Returns the create date of this release.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this release.
 String getOriginalServletContextName()
           
 long getPrimaryKey()
          Returns the primary key of this release.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getReleaseId()
          Returns the release ID of this release.
 String getServletContextName()
          Returns the servlet context name of this release.
 int getState()
          Returns the state of this release.
 String getTestString()
          Returns the test string of this release.
 boolean getVerified()
          Returns the verified of this release.
 int hashCode()
           
 boolean isVerified()
          Returns true if this release is verified.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this release.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this release.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setReleaseId(long releaseId)
          Sets the release ID 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.
 CacheModel<Release> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 Release toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

SERVLETCONTEXTNAME_COLUMN_BITMASK

public static long SERVLETCONTEXTNAME_COLUMN_BITMASK

RELEASEID_COLUMN_BITMASK

public static long RELEASEID_COLUMN_BITMASK

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
Returns the primary key of this release.

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

setPrimaryKey

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

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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Release>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ReleaseModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Release>
Overrides:
getModelAttributes in class BaseModelImpl<Release>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Release>
Overrides:
setModelAttributes in class BaseModelImpl<Release>

getReleaseId

public long getReleaseId()
Description copied from interface: ReleaseModel
Returns 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
Returns 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
Returns 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
Returns 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
Returns 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
Returns 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
Returns 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
Returns true if this release is verified.

Specified by:
isVerified in interface ReleaseModel
Returns:
true if this release is verified; false otherwise

setVerified

public void setVerified(boolean verified)
Description copied from interface: ReleaseModel
Sets whether this release is verified.

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

getState

public int getState()
Description copied from interface: ReleaseModel
Returns the state of this release.

Specified by:
getState in interface ReleaseModel
Returns:
the state of this release

setState

public void setState(int state)
Description copied from interface: ReleaseModel
Sets the state of this release.

Specified by:
setState in interface ReleaseModel
Parameters:
state - the state of this release

getTestString

public String getTestString()
Description copied from interface: ReleaseModel
Returns 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

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<Release>
Specified by:
getExpandoBridge in interface ClassedModel
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 be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

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

Specified by:
toEscapedModel in interface BaseModel<Release>
Specified by:
toEscapedModel in interface ReleaseModel
Overrides:
toEscapedModel in class BaseModelImpl<Release>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Release>
Overrides:
resetOriginalValues in class BaseModelImpl<Release>

toCacheModel

public CacheModel<Release> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Release>
Specified by:
toCacheModel in interface ReleaseModel
Overrides:
toCacheModel in class BaseModelImpl<Release>
Returns:
the cache model 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
Returns 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.2-ce-ga5