Liferay 6.1.2-ce-ga3

com.liferay.portlet.softwarecatalog.model
Class SCProductVersionWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.SCProductVersionWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<SCProductVersion>, ClassedModel, ModelWrapper<SCProductVersion>, PersistedModel, SCProductVersion, SCProductVersionModel, Serializable, Cloneable, Comparable<SCProductVersion>

public class SCProductVersionWrapper
extends Object
implements SCProductVersion, ModelWrapper<SCProductVersion>

This class is a wrapper for SCProductVersion.

See Also:
SCProductVersion, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
SCProductVersionWrapper(SCProductVersion scProductVersion)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductVersion scProductVersion)
           
 boolean equals(Object obj)
           
 String getChangeLog()
          Returns the change log of this s c product version.
 long getCompanyId()
          Returns the company ID of this s c product version.
 Date getCreateDate()
          Returns the create date of this s c product version.
 String getDirectDownloadURL()
          Returns the direct download u r l of this s c product version.
 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.
 List<SCFrameworkVersion> getFrameworkVersions()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this s c product version.
 long getPrimaryKey()
          Returns the primary key of this s c product version.
 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.
 String getUserName()
          Returns the user name of this s c product version.
 String getUserUuid()
          Returns the user uuid of this s c product version.
 String getVersion()
          Returns the version of this s c product version.
 SCProductVersion getWrappedModel()
           
 SCProductVersion getWrappedSCProductVersion()
          Deprecated. Renamed to getWrappedModel()
 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 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(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(Date createDate)
          Sets the create date of this s c product version.
 void setDirectDownloadURL(String directDownloadURL)
          Sets the direct download u r l of this s c product version.
 void setDownloadPageURL(String downloadPageURL)
          Sets the download page u r l of this s c product version.
 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 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(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(String userName)
          Sets the user name of this s c product version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this s c product version.
 void setVersion(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.
 String toString()
           
 SCProductVersion toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCProductVersionWrapper

public SCProductVersionWrapper(SCProductVersion scProductVersion)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<SCProductVersion>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<SCProductVersion>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this s c product version.

Specified by:
getPrimaryKey in interface SCProductVersionModel
Returns:
the primary key of this s c product version

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this s c product version.

Specified by:
setPrimaryKey in interface SCProductVersionModel
Parameters:
primaryKey - the primary key of this s c product version

getProductVersionId

public long getProductVersionId()
Returns the product version ID of this s c product version.

Specified by:
getProductVersionId in interface SCProductVersionModel
Returns:
the product version ID of this s c product version

setProductVersionId

public void setProductVersionId(long productVersionId)
Sets the product version ID of this s c product version.

Specified by:
setProductVersionId in interface SCProductVersionModel
Parameters:
productVersionId - the product version ID of this s c product version

getCompanyId

public long getCompanyId()
Returns the company ID of this s c product version.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface SCProductVersionModel
Returns:
the company ID of this s c product version

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this s c product version.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface SCProductVersionModel
Parameters:
companyId - the company ID of this s c product version

getUserId

public long getUserId()
Returns the user ID of this s c product version.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface SCProductVersionModel
Returns:
the user ID of this s c product version

setUserId

public void setUserId(long userId)
Sets the user ID of this s c product version.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface SCProductVersionModel
Parameters:
userId - the user ID of this s c product version

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this s c product version.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface SCProductVersionModel
Returns:
the user uuid of this s c product version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this s c product version.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface SCProductVersionModel
Parameters:
userUuid - the user uuid of this s c product version

getUserName

public String getUserName()
Returns the user name of this s c product version.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface SCProductVersionModel
Returns:
the user name of this s c product version

setUserName

public void setUserName(String userName)
Sets the user name of this s c product version.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface SCProductVersionModel
Parameters:
userName - the user name of this s c product version

getCreateDate

public Date getCreateDate()
Returns the create date of this s c product version.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface SCProductVersionModel
Returns:
the create date of this s c product version

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this s c product version.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface SCProductVersionModel
Parameters:
createDate - the create date of this s c product version

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this s c product version.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface SCProductVersionModel
Returns:
the modified date of this s c product version

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this s c product version.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface SCProductVersionModel
Parameters:
modifiedDate - the modified date of this s c product version

getProductEntryId

public long getProductEntryId()
Returns the product entry ID of this s c product version.

Specified by:
getProductEntryId in interface SCProductVersionModel
Returns:
the product entry ID of this s c product version

setProductEntryId

public void setProductEntryId(long productEntryId)
Sets the product entry ID of this s c product version.

Specified by:
setProductEntryId in interface SCProductVersionModel
Parameters:
productEntryId - the product entry ID of this s c product version

getVersion

public String getVersion()
Returns the version of this s c product version.

Specified by:
getVersion in interface SCProductVersionModel
Returns:
the version of this s c product version

setVersion

public void setVersion(String version)
Sets the version of this s c product version.

Specified by:
setVersion in interface SCProductVersionModel
Parameters:
version - the version of this s c product version

getChangeLog

public String getChangeLog()
Returns the change log of this s c product version.

Specified by:
getChangeLog in interface SCProductVersionModel
Returns:
the change log of this s c product version

setChangeLog

public void setChangeLog(String changeLog)
Sets the change log of this s c product version.

Specified by:
setChangeLog in interface SCProductVersionModel
Parameters:
changeLog - the change log of this s c product version

getDownloadPageURL

public String getDownloadPageURL()
Returns the download page u r l of this s c product version.

Specified by:
getDownloadPageURL in interface SCProductVersionModel
Returns:
the download page u r l of this s c product version

setDownloadPageURL

public void setDownloadPageURL(String downloadPageURL)
Sets the download page u r l of this s c product version.

Specified by:
setDownloadPageURL in interface SCProductVersionModel
Parameters:
downloadPageURL - the download page u r l of this s c product version

getDirectDownloadURL

public String getDirectDownloadURL()
Returns the direct download u r l of this s c product version.

Specified by:
getDirectDownloadURL in interface SCProductVersionModel
Returns:
the direct download u r l of this s c product version

setDirectDownloadURL

public void setDirectDownloadURL(String directDownloadURL)
Sets the direct download u r l of this s c product version.

Specified by:
setDirectDownloadURL in interface SCProductVersionModel
Parameters:
directDownloadURL - the direct download u r l of this s c product version

getRepoStoreArtifact

public boolean getRepoStoreArtifact()
Returns the repo store artifact of this s c product version.

Specified by:
getRepoStoreArtifact in interface SCProductVersionModel
Returns:
the repo store artifact of this s c product version

isRepoStoreArtifact

public boolean isRepoStoreArtifact()
Returns true if this s c product version is repo store artifact.

Specified by:
isRepoStoreArtifact in interface SCProductVersionModel
Returns:
true if this s c product version is repo store artifact; false otherwise

setRepoStoreArtifact

public void setRepoStoreArtifact(boolean repoStoreArtifact)
Sets whether this s c product version is repo store artifact.

Specified by:
setRepoStoreArtifact in interface SCProductVersionModel
Parameters:
repoStoreArtifact - the repo store artifact of this s c product version

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<SCProductVersion>
Specified by:
isNew in interface SCProductVersionModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<SCProductVersion>
Specified by:
setNew in interface SCProductVersionModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<SCProductVersion>
Specified by:
isCachedModel in interface SCProductVersionModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<SCProductVersion>
Specified by:
setCachedModel in interface SCProductVersionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<SCProductVersion>
Specified by:
isEscapedModel in interface SCProductVersionModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SCProductVersionModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<SCProductVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCProductVersionModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<SCProductVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SCProductVersionModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCProductVersion>
Specified by:
setExpandoBridgeAttributes in interface SCProductVersionModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<SCProductVersion>
Specified by:
clone in interface SCProductVersionModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCProductVersion scProductVersion)
Specified by:
compareTo in interface SCProductVersionModel
Specified by:
compareTo in interface Comparable<SCProductVersion>

hashCode

public int hashCode()
Specified by:
hashCode in interface SCProductVersionModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<SCProductVersion> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<SCProductVersion>
Specified by:
toCacheModel in interface SCProductVersionModel
Returns:
the cache model object

toEscapedModel

public SCProductVersion toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<SCProductVersion>
Specified by:
toEscapedModel in interface SCProductVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SCProductVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCProductVersion>
Specified by:
toUnescapedModel in interface SCProductVersionModel

toString

public String toString()
Specified by:
toString in interface SCProductVersionModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<SCProductVersion>
Specified by:
toXmlString in interface SCProductVersionModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getFrameworkVersions

public List<SCFrameworkVersion> getFrameworkVersions()
                                              throws SystemException
Specified by:
getFrameworkVersions in interface SCProductVersion
Throws:
SystemException

getProductEntry

public SCProductEntry getProductEntry()
Specified by:
getProductEntry in interface SCProductVersion

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedSCProductVersion

public SCProductVersion getWrappedSCProductVersion()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public SCProductVersion getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<SCProductVersion>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<SCProductVersion>

Liferay 6.1.2-ce-ga3