Liferay 6.0.3

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()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDirectDownloadURL()
           
 String getDownloadPageURL()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 List<SCFrameworkVersion> getFrameworkVersions()
           
 Date getModifiedDate()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 SCProductEntry getProductEntry()
           
 long getProductEntryId()
           
 long getProductVersionId()
           
 boolean getRepoStoreArtifact()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getVersion()
           
 SCProductVersion getWrappedSCProductVersion()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRepoStoreArtifact()
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setChangeLog(String changeLog)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDirectDownloadURL(String directDownloadURL)
           
 void setDownloadPageURL(String downloadPageURL)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setProductEntryId(long productEntryId)
           
 void setProductVersionId(long productVersionId)
           
 void setRepoStoreArtifact(boolean repoStoreArtifact)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setVersion(String version)
           
 SCProductVersion toEscapedModel()
           
 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()
Specified by:
getPrimaryKey in interface SCProductVersionModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface SCProductVersionModel

getProductVersionId

public long getProductVersionId()
Specified by:
getProductVersionId in interface SCProductVersionModel

setProductVersionId

public void setProductVersionId(long productVersionId)
Specified by:
setProductVersionId in interface SCProductVersionModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface SCProductVersionModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface SCProductVersionModel

getUserId

public long getUserId()
Specified by:
getUserId in interface SCProductVersionModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface SCProductVersionModel

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface SCProductVersionModel
Throws:
SystemException

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface SCProductVersionModel

getUserName

public String getUserName()
Specified by:
getUserName in interface SCProductVersionModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface SCProductVersionModel

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface SCProductVersionModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface SCProductVersionModel

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface SCProductVersionModel

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface SCProductVersionModel

getProductEntryId

public long getProductEntryId()
Specified by:
getProductEntryId in interface SCProductVersionModel

setProductEntryId

public void setProductEntryId(long productEntryId)
Specified by:
setProductEntryId in interface SCProductVersionModel

getVersion

public String getVersion()
Specified by:
getVersion in interface SCProductVersionModel

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface SCProductVersionModel

getChangeLog

public String getChangeLog()
Specified by:
getChangeLog in interface SCProductVersionModel

setChangeLog

public void setChangeLog(String changeLog)
Specified by:
setChangeLog in interface SCProductVersionModel

getDownloadPageURL

public String getDownloadPageURL()
Specified by:
getDownloadPageURL in interface SCProductVersionModel

setDownloadPageURL

public void setDownloadPageURL(String downloadPageURL)
Specified by:
setDownloadPageURL in interface SCProductVersionModel

getDirectDownloadURL

public String getDirectDownloadURL()
Specified by:
getDirectDownloadURL in interface SCProductVersionModel

setDirectDownloadURL

public void setDirectDownloadURL(String directDownloadURL)
Specified by:
setDirectDownloadURL in interface SCProductVersionModel

getRepoStoreArtifact

public boolean getRepoStoreArtifact()
Specified by:
getRepoStoreArtifact in interface SCProductVersionModel

isRepoStoreArtifact

public boolean isRepoStoreArtifact()
Specified by:
isRepoStoreArtifact in interface SCProductVersionModel

setRepoStoreArtifact

public void setRepoStoreArtifact(boolean repoStoreArtifact)
Specified by:
setRepoStoreArtifact in interface SCProductVersionModel

toEscapedModel

public SCProductVersion toEscapedModel()
Specified by:
toEscapedModel in interface SCProductVersionModel

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 has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<SCProductVersion>
Specified by:
isEscapedModel in interface SCProductVersionModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped 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 has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SCProductVersion>
Specified by:
getPrimaryKeyObj in interface SCProductVersionModel
Returns:
the primary key

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

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 clone

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.3