|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.model.ReleaseWrapper
public class ReleaseWrapper
This class is a wrapper for Release.
Release,
Serialized Form| Constructor Summary | |
|---|---|
ReleaseWrapper(Release release)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Release release)
|
java.util.Date |
getBuildDate()
Returns the build date of this release. |
int |
getBuildNumber()
Returns the build number of this release. |
java.util.Date |
getCreateDate()
Returns the create date of this release. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes()
|
java.lang.Class<?> |
getModelClass()
|
java.lang.String |
getModelClassName()
|
java.util.Date |
getModifiedDate()
Returns the modified date of this release. |
long |
getPrimaryKey()
Returns the primary key of this release. |
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getReleaseId()
Returns the release ID of this release. |
java.lang.String |
getServletContextName()
Returns the servlet context name of this release. |
int |
getState()
Returns the state of this release. |
java.lang.String |
getTestString()
Returns the test string of this release. |
boolean |
getVerified()
Returns the verified of this release. |
Release |
getWrappedModel()
|
Release |
getWrappedRelease()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isVerified()
Returns true if this release is verified. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setBuildDate(java.util.Date buildDate)
Sets the build date of this release. |
void |
setBuildNumber(int buildNumber)
Sets the build number of this release. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCreateDate(java.util.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(java.util.Map<java.lang.String,java.lang.Object> attributes)
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this release. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this release. |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setReleaseId(long releaseId)
Sets the release ID of this release. |
void |
setServletContextName(java.lang.String servletContextName)
Sets the servlet context name of this release. |
void |
setState(int state)
Sets the state of this release. |
void |
setTestString(java.lang.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. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReleaseWrapper(Release release)
| Method Detail |
|---|
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Release>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Release>public long getPrimaryKey()
getPrimaryKey in interface ReleaseModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ReleaseModelprimaryKey - the primary key of this releasepublic long getReleaseId()
getReleaseId in interface ReleaseModelpublic void setReleaseId(long releaseId)
setReleaseId in interface ReleaseModelreleaseId - the release ID of this releasepublic java.util.Date getCreateDate()
getCreateDate in interface ReleaseModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface ReleaseModelcreateDate - the create date of this releasepublic java.util.Date getModifiedDate()
getModifiedDate in interface ReleaseModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface ReleaseModelmodifiedDate - the modified date of this releasepublic java.lang.String getServletContextName()
getServletContextName in interface ReleaseModelpublic void setServletContextName(java.lang.String servletContextName)
setServletContextName in interface ReleaseModelservletContextName - the servlet context name of this releasepublic int getBuildNumber()
getBuildNumber in interface ReleaseModelpublic void setBuildNumber(int buildNumber)
setBuildNumber in interface ReleaseModelbuildNumber - the build number of this releasepublic java.util.Date getBuildDate()
getBuildDate in interface ReleaseModelpublic void setBuildDate(java.util.Date buildDate)
setBuildDate in interface ReleaseModelbuildDate - the build date of this releasepublic boolean getVerified()
getVerified in interface ReleaseModelpublic boolean isVerified()
true if this release is verified.
isVerified in interface ReleaseModeltrue if this release is verified; false otherwisepublic void setVerified(boolean verified)
setVerified in interface ReleaseModelverified - the verified of this releasepublic int getState()
getState in interface ReleaseModelpublic void setState(int state)
setState in interface ReleaseModelstate - the state of this releasepublic java.lang.String getTestString()
getTestString in interface ReleaseModelpublic void setTestString(java.lang.String testString)
setTestString in interface ReleaseModeltestString - the test string of this releasepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Release>isNew in interface ReleaseModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Release>setNew in interface ReleaseModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Release>isCachedModel in interface ReleaseModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Release>setCachedModel in interface ReleaseModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Release>isEscapedModel in interface ReleaseModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Release>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ReleaseModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Release>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ReleaseModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Release>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ReleaseModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModel
clone in interface BaseModel<Release>clone in interface ReleaseModelclone in class java.lang.Objectpublic int compareTo(Release release)
compareTo in interface ReleaseModelcompareTo in interface java.lang.Comparable<Release>public int hashCode()
hashCode in interface ReleaseModelhashCode in class java.lang.Objectpublic CacheModel<Release> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Release>toCacheModel in interface ReleaseModelpublic Release toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Release>toEscapedModel in interface ReleaseModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface ReleaseModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<Release>toXmlString in interface ReleaseModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic Release getWrappedRelease()
getWrappedModel()
public Release getWrappedModel()
getWrappedModel in interface ModelWrapper<Release>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Release>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||