Liferay 6.0.5

com.liferay.portlet.softwarecatalog.model
Class SCProductVersionWrapper

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

public class SCProductVersionWrapper
extends Object
implements 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 is generated.

Constructor Summary
SCProductVersionWrapper(SCProductVersion scProductVersion)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCProductVersion scProductVersion)
           
 String getChangeLog()
          Gets the change log of this s c product version.
 long getCompanyId()
          Gets the company id of this s c product version.
 Date getCreateDate()
          Gets the create date of this s c product version.
 String getDirectDownloadURL()
          Gets the direct download u r l of this s c product version.
 String getDownloadPageURL()
          Gets the download page u r l of this s c product version.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 List<SCFrameworkVersion> getFrameworkVersions()
           
 Date getModifiedDate()
          Gets the modified date of this s c product version.
 long getPrimaryKey()
          Gets the primary key of this s c product version.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 SCProductEntry getProductEntry()
           
 long getProductEntryId()
          Gets the product entry id of this s c product version.
 long getProductVersionId()
          Gets the product version id of this s c product version.
 boolean getRepoStoreArtifact()
          Gets the repo store artifact of this s c product version.
 long getUserId()
          Gets the user id of this s c product version.
 String getUserName()
          Gets the user name of this s c product version.
 String getUserUuid()
          Gets the user uuid of this s c product version.
 String getVersion()
          Gets the version of this s c product version.
 SCProductVersion getWrappedSCProductVersion()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRepoStoreArtifact()
          Determines whether this s c product version is repo store artifact.
 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 s c product version.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
          Sets the primary key of this s c product version
 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 {$entity.humanName} 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.
 SCProductVersion toEscapedModel()
          Gets a copy of this s c product version as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCProductVersionWrapper

public SCProductVersionWrapper(SCProductVersion scProductVersion)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SCProductVersionModel
Gets 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 pk)
Description copied from interface: SCProductVersionModel
Sets the primary key of this s c product version

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

getProductVersionId

public long getProductVersionId()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets the company id of this s c product version.

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

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SCProductVersionModel
Sets the company id of this s c product version.

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

getUserId

public long getUserId()
Description copied from interface: SCProductVersionModel
Gets the user id of this s c product version.

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

setUserId

public void setUserId(long userId)
Description copied from interface: SCProductVersionModel
Sets the user id of this s c product version.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SCProductVersionModel
Gets the user uuid of this s c product version.

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)
Description copied from interface: SCProductVersionModel
Sets the user uuid of this s c product version.

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

getUserName

public String getUserName()
Description copied from interface: SCProductVersionModel
Gets the user name of this s c product version.

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

setUserName

public void setUserName(String userName)
Description copied from interface: SCProductVersionModel
Sets the user name of this s c product version.

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

getCreateDate

public Date getCreateDate()
Description copied from interface: SCProductVersionModel
Gets the create date of this s c product version.

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

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: SCProductVersionModel
Sets the create date of this s c product version.

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

getModifiedDate

public Date getModifiedDate()
Description copied from interface: SCProductVersionModel
Gets the modified date of this s c product version.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: SCProductVersionModel
Sets the modified date of this s c product version.

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

getProductEntryId

public long getProductEntryId()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets 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)
Description copied from interface: SCProductVersionModel
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()
Description copied from interface: SCProductVersionModel
Gets 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()
Description copied from interface: SCProductVersionModel
Determines whether this s c product version is repo store artifact.

Specified by:
isRepoStoreArtifact in interface SCProductVersionModel
Returns:
whether this s c product version is repo store artifact

setRepoStoreArtifact

public void setRepoStoreArtifact(boolean repoStoreArtifact)
Description copied from interface: SCProductVersionModel
Sets whether this {$entity.humanName} is repo store artifact.

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

toEscapedModel

public SCProductVersion toEscapedModel()
Description copied from interface: SCProductVersionModel
Gets a copy of this s c product version as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface SCProductVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines 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
Determines 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
Determines 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
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<SCProductVersion>
Specified by:
setEscapedModel in interface SCProductVersionModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SCProductVersion>
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 to retrieve the expando bridge attributes from
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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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

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

getWrappedSCProductVersion

public SCProductVersion getWrappedSCProductVersion()

Liferay 6.0.5