@ProviderType public interface ReleaseModel extends BaseModel<Release>, MVCCModel
This interface and its corresponding implementation ReleaseModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ReleaseImpl
.
Release
,
ReleaseImpl
,
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, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this releaselong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- 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()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
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)
BaseModel
setCachedModel
in interface BaseModel<Release>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<Release>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Release>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Release>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Release>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Release>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Release>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Release>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
int hashCode()
hashCode
in class Object
CacheModel<Release> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Release>
Release toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<Release>
AutoEscapeBeanHandler
Release toUnescapedModel()
toUnescapedModel
in interface BaseModel<Release>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Release>