@ProviderType public class ReleaseWrapper extends Object implements Release, ModelWrapper<Release>
This class is a wrapper for Release.
Release,
Serialized FormRELEASE_ID_ACCESSOR| Constructor and Description |
|---|
ReleaseWrapper(Release release) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getBundleSymbolicName() |
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.
|
long |
getMvccVersion()
Returns the mvcc version of this release.
|
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 |
getSchemaVersion()
Returns the schema version 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.
|
Release |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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(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(Date createDate)
Sets the create date of this release.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
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() |
Release |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public ReleaseWrapper(Release release)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Release>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Release>public CacheModel<Release> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Release>toCacheModel in interface ReleaseModelpublic Release toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Release>toEscapedModel in interface ReleaseModelAutoEscapeBeanHandlerpublic Release toUnescapedModel()
toUnescapedModel in interface BaseModel<Release>toUnescapedModel in interface ReleaseModelpublic boolean getVerified()
getVerified in interface ReleaseModelpublic 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 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 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 boolean isVerified()
true if this release is verified.isVerified in interface ReleaseModeltrue if this release is verified; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Release>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ReleaseModelpublic int compareTo(Release release)
compareTo in interface ReleaseModelcompareTo in interface Comparable<Release>public int getBuildNumber()
getBuildNumber in interface ReleaseModelpublic int getState()
getState in interface ReleaseModelpublic int hashCode()
hashCode in interface ReleaseModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Release>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ReleaseModelpublic Object clone()
BaseModelpublic String getBundleSymbolicName()
getBundleSymbolicName in interface Releasepublic String getSchemaVersion()
getSchemaVersion in interface ReleaseModelpublic String getServletContextName()
getServletContextName in interface ReleaseModelpublic String getTestString()
getTestString in interface ReleaseModelpublic String toString()
toString in interface ReleaseModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<Release>toXmlString in interface ReleaseModelpublic Date getBuildDate()
getBuildDate in interface ReleaseModelpublic Date getCreateDate()
getCreateDate in interface ReleaseModelpublic Date getModifiedDate()
getModifiedDate in interface ReleaseModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ReleaseModelpublic long getPrimaryKey()
getPrimaryKey in interface ReleaseModelpublic long getReleaseId()
getReleaseId in interface ReleaseModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setBuildDate(Date buildDate)
setBuildDate in interface ReleaseModelbuildDate - the build date of this releasepublic void setBuildNumber(int buildNumber)
setBuildNumber in interface ReleaseModelbuildNumber - the build number of this releasepublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<Release>setCachedModel in interface ReleaseModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCreateDate(Date createDate)
setCreateDate in interface ReleaseModelcreateDate - the create date of this releasepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Release>setExpandoBridgeAttributes in interface ReleaseModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ReleaseModelmodifiedDate - the modified date of this releasepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ReleaseModelmvccVersion - the mvcc version of this releasepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<Release>setNew in interface ReleaseModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ReleaseModelprimaryKey - the primary key of this releasepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Release>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ReleaseModelprimaryKeyObj - the primary key of this model instancepublic void setReleaseId(long releaseId)
setReleaseId in interface ReleaseModelreleaseId - the release ID of this releasepublic void setSchemaVersion(String schemaVersion)
setSchemaVersion in interface ReleaseModelschemaVersion - the schema version of this releasepublic void setServletContextName(String servletContextName)
setServletContextName in interface ReleaseModelservletContextName - the servlet context name of this releasepublic void setState(int state)
setState in interface ReleaseModelstate - the state of this releasepublic void setTestString(String testString)
setTestString in interface ReleaseModeltestString - the test string of this releasepublic void setVerified(boolean verified)
setVerified in interface ReleaseModelverified - the verified of this releasepublic Release getWrappedModel()
getWrappedModel in interface ModelWrapper<Release>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<Release>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<Release>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<Release>