public class ReleaseWrapper extends BaseModelWrapper<Release> implements ModelWrapper<Release>, Release
This class is a wrapper for Release
.
Release
,
Serialized Formmodel
RELEASE_ID_ACCESSOR
Constructor and Description |
---|
ReleaseWrapper(Release release) |
Modifier and Type | Method and Description |
---|---|
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.
|
Map<String,Object> |
getModelAttributes() |
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.
|
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.
|
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 |
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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this release.
|
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.
|
protected ReleaseWrapper |
wrap(Release release) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public ReleaseWrapper(Release release)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Release>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Release>
public Date getBuildDate()
getBuildDate
in interface ReleaseModel
public int getBuildNumber()
getBuildNumber
in interface ReleaseModel
public String getBundleSymbolicName()
getBundleSymbolicName
in interface Release
public Date getCreateDate()
getCreateDate
in interface ReleaseModel
public Date getModifiedDate()
getModifiedDate
in interface ReleaseModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ReleaseModel
public long getPrimaryKey()
getPrimaryKey
in interface ReleaseModel
public long getReleaseId()
getReleaseId
in interface ReleaseModel
public String getSchemaVersion()
getSchemaVersion
in interface ReleaseModel
public String getServletContextName()
getServletContextName
in interface ReleaseModel
public int getState()
getState
in interface ReleaseModel
public String getTestString()
getTestString
in interface ReleaseModel
public boolean getVerified()
getVerified
in interface ReleaseModel
public boolean isVerified()
true
if this release is verified.isVerified
in interface ReleaseModel
true
if this release is verified; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setBuildDate(Date buildDate)
setBuildDate
in interface ReleaseModel
buildDate
- the build date of this releasepublic void setBuildNumber(int buildNumber)
setBuildNumber
in interface ReleaseModel
buildNumber
- the build number of this releasepublic void setCreateDate(Date createDate)
setCreateDate
in interface ReleaseModel
createDate
- the create date of this releasepublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface ReleaseModel
modifiedDate
- the modified date of this releasepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ReleaseModel
mvccVersion
- the mvcc version of this releasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ReleaseModel
primaryKey
- the primary key of this releasepublic void setReleaseId(long releaseId)
setReleaseId
in interface ReleaseModel
releaseId
- the release ID of this releasepublic void setSchemaVersion(String schemaVersion)
setSchemaVersion
in interface ReleaseModel
schemaVersion
- the schema version of this releasepublic void setServletContextName(String servletContextName)
setServletContextName
in interface ReleaseModel
servletContextName
- the servlet context name of this releasepublic void setState(int state)
setState
in interface ReleaseModel
state
- the state of this releasepublic void setTestString(String testString)
setTestString
in interface ReleaseModel
testString
- the test string of this releasepublic void setVerified(boolean verified)
setVerified
in interface ReleaseModel
verified
- the verified of this releaseprotected ReleaseWrapper wrap(Release release)
wrap
in class BaseModelWrapper<Release>