@ProviderType public class SCProductVersionWrapper extends java.lang.Object implements SCProductVersion, ModelWrapper<SCProductVersion>
This class is a wrapper for SCProductVersion.
SCProductVersion,
Serialized FormPRODUCT_VERSION_ID_ACCESSOR| Constructor and Description |
|---|
SCProductVersionWrapper(SCProductVersion scProductVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SCProductVersion scProductVersion) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChangeLog()
Returns the change log of this s c product version.
|
long |
getCompanyId()
Returns the company ID of this s c product version.
|
java.util.Date |
getCreateDate()
Returns the create date of this s c product version.
|
java.lang.String |
getDirectDownloadURL()
Returns the direct download u r l of this s c product version.
|
java.lang.String |
getDownloadPageURL()
Returns the download page u r l of this s c product version.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.List<SCFrameworkVersion> |
getFrameworkVersions() |
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 s c product version.
|
long |
getPrimaryKey()
Returns the primary key of this s c product version.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
SCProductEntry |
getProductEntry() |
long |
getProductEntryId()
Returns the product entry ID of this s c product version.
|
long |
getProductVersionId()
Returns the product version ID of this s c product version.
|
boolean |
getRepoStoreArtifact()
Returns the repo store artifact of this s c product version.
|
long |
getUserId()
Returns the user ID of this s c product version.
|
java.lang.String |
getUserName()
Returns the user name of this s c product version.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this s c product version.
|
java.lang.String |
getVersion()
Returns the version of this s c product version.
|
SCProductVersion |
getWrappedModel() |
SCProductVersion |
getWrappedSCProductVersion()
Deprecated.
As of 6.1.0, replaced by
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 |
isRepoStoreArtifact()
Returns
true if this s c product version is repo store artifact. |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setChangeLog(java.lang.String changeLog)
Sets the change log of this s c product version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this s c product version.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this s c product version.
|
void |
setDirectDownloadURL(java.lang.String directDownloadURL)
Sets the direct download u r l of this s c product version.
|
void |
setDownloadPageURL(java.lang.String downloadPageURL)
Sets the download page u r l of this s c product version.
|
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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this s c product version.
|
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 s c product version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product version.
|
void |
setProductVersionId(long productVersionId)
Sets the product version ID of this s c product version.
|
void |
setRepoStoreArtifact(boolean repoStoreArtifact)
Sets whether this s c product version is repo store artifact.
|
void |
setUserId(long userId)
Sets the user ID of this s c product version.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this s c product version.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this s c product version.
|
void |
setVersion(java.lang.String version)
Sets the version of this s c product version.
|
CacheModel<SCProductVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SCProductVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
SCProductVersion |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SCProductVersionWrapper(SCProductVersion scProductVersion)
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<SCProductVersion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SCProductVersion>public java.lang.Object clone()
BaseModelclone in interface BaseModel<SCProductVersion>clone in interface SCProductVersionModelclone in class java.lang.Objectpublic int compareTo(SCProductVersion scProductVersion)
compareTo in interface SCProductVersionModelcompareTo in interface java.lang.Comparable<SCProductVersion>public java.lang.String getChangeLog()
getChangeLog in interface SCProductVersionModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface SCProductVersionModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SCProductVersionModelpublic java.lang.String getDirectDownloadURL()
getDirectDownloadURL in interface SCProductVersionModelpublic java.lang.String getDownloadPageURL()
getDownloadPageURL in interface SCProductVersionModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SCProductVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SCProductVersionModelpublic java.util.List<SCFrameworkVersion> getFrameworkVersions()
getFrameworkVersions in interface SCProductVersionpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SCProductVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface SCProductVersionModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SCProductVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SCProductVersionModelpublic SCProductEntry getProductEntry()
getProductEntry in interface SCProductVersionpublic long getProductEntryId()
getProductEntryId in interface SCProductVersionModelpublic long getProductVersionId()
getProductVersionId in interface SCProductVersionModelpublic boolean getRepoStoreArtifact()
getRepoStoreArtifact in interface SCProductVersionModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SCProductVersionModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface SCProductVersionModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface SCProductVersionModelpublic java.lang.String getVersion()
getVersion in interface SCProductVersionModelpublic int hashCode()
hashCode in interface SCProductVersionModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SCProductVersion>isCachedModel in interface SCProductVersionModeltrue 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<SCProductVersion>isEscapedModel in interface SCProductVersionModeltrue 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<SCProductVersion>isNew in interface SCProductVersionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isRepoStoreArtifact()
true if this s c product version is repo store artifact.isRepoStoreArtifact in interface SCProductVersionModeltrue if this s c product version is repo store artifact; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SCProductVersion>setCachedModel in interface SCProductVersionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setChangeLog(java.lang.String changeLog)
setChangeLog in interface SCProductVersionModelchangeLog - the change log of this s c product versionpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface SCProductVersionModelcompanyId - the company ID of this s c product versionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SCProductVersionModelcreateDate - the create date of this s c product versionpublic void setDirectDownloadURL(java.lang.String directDownloadURL)
setDirectDownloadURL in interface SCProductVersionModeldirectDownloadURL - the direct download u r l of this s c product versionpublic void setDownloadPageURL(java.lang.String downloadPageURL)
setDownloadPageURL in interface SCProductVersionModeldownloadPageURL - the download page u r l of this s c product versionpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SCProductVersion>setExpandoBridgeAttributes in interface SCProductVersionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SCProductVersionModelmodifiedDate - the modified date of this s c product versionpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SCProductVersion>setNew in interface SCProductVersionModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SCProductVersionModelprimaryKey - the primary key of this s c product versionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SCProductVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SCProductVersionModelprimaryKeyObj - the primary key of this model instancepublic void setProductEntryId(long productEntryId)
setProductEntryId in interface SCProductVersionModelproductEntryId - the product entry ID of this s c product versionpublic void setProductVersionId(long productVersionId)
setProductVersionId in interface SCProductVersionModelproductVersionId - the product version ID of this s c product versionpublic void setRepoStoreArtifact(boolean repoStoreArtifact)
setRepoStoreArtifact in interface SCProductVersionModelrepoStoreArtifact - the repo store artifact of this s c product versionpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SCProductVersionModeluserId - the user ID of this s c product versionpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface SCProductVersionModeluserName - the user name of this s c product versionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SCProductVersionModeluserUuid - the user uuid of this s c product versionpublic void setVersion(java.lang.String version)
setVersion in interface SCProductVersionModelversion - the version of this s c product versionpublic CacheModel<SCProductVersion> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SCProductVersion>toCacheModel in interface SCProductVersionModelpublic SCProductVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SCProductVersion>toEscapedModel in interface SCProductVersionModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface SCProductVersionModeltoString in class java.lang.Objectpublic SCProductVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<SCProductVersion>toUnescapedModel in interface SCProductVersionModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SCProductVersion>toXmlString in interface SCProductVersionModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public SCProductVersion getWrappedSCProductVersion()
getWrappedModel()public SCProductVersion getWrappedModel()
getWrappedModel in interface ModelWrapper<SCProductVersion>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SCProductVersion>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<SCProductVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SCProductVersion>