@ProviderType public interface ReleaseModel extends BaseModel<Release>, MVCCModel
This interface and its corresponding implementation com.liferay.portal.model.impl.ReleaseModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ReleaseImpl.
Release,
com.liferay.portal.model.impl.ReleaseImpl,
com.liferay.portal.model.impl.ReleaseModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Release release) |
Date |
getBuildDate()
Returns the build date of this release.
|
int |
getBuildNumber()
Returns the build number of this release.
|
Date |
getCreateDate()
Returns the create date of this release.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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.
|
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 |
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 |
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this releaselong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this releaselong getReleaseId()
void setReleaseId(long releaseId)
releaseId - the release ID of this releaseDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this releaseDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this release@AutoEscape String getServletContextName()
void setServletContextName(String servletContextName)
servletContextName - the servlet context name of this release@AutoEscape String getSchemaVersion()
void setSchemaVersion(String schemaVersion)
schemaVersion - the schema version of this releaseint getBuildNumber()
void setBuildNumber(int buildNumber)
buildNumber - the build number of this releaseDate getBuildDate()
void setBuildDate(Date buildDate)
buildDate - the build date of this releaseboolean getVerified()
boolean isVerified()
true if this release is verified.true if this release is verified; false otherwisevoid setVerified(boolean verified)
verified - the verified of this releaseint getState()
void setState(int state)
state - the state of this release@AutoEscape String getTestString()
void setTestString(String testString)
testString - the test string of this releaseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<Release>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<Release>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<Release>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Release>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Release>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Release>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Release>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Release>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Release>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelint compareTo(Release release)
compareTo in interface Comparable<Release>CacheModel<Release> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Release>Release toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Release>AutoEscapeBeanHandlerRelease toUnescapedModel()
toUnescapedModel in interface BaseModel<Release>String toXmlString()
BaseModeltoXmlString in interface BaseModel<Release>