Liferay 6.1.2-ce-ga3

com.liferay.portlet.softwarecatalog.model
Class SCFrameworkVersionWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.SCFrameworkVersionWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<SCFrameworkVersion>, ClassedModel, GroupedModel, ModelWrapper<SCFrameworkVersion>, PersistedModel, SCFrameworkVersion, SCFrameworkVersionModel, Serializable, Cloneable, Comparable<SCFrameworkVersion>

public class SCFrameworkVersionWrapper
extends Object
implements SCFrameworkVersion, ModelWrapper<SCFrameworkVersion>

This class is a wrapper for SCFrameworkVersion.

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

Constructor Summary
SCFrameworkVersionWrapper(SCFrameworkVersion scFrameworkVersion)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SCFrameworkVersion scFrameworkVersion)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this s c framework version.
 long getCompanyId()
          Returns the company ID of this s c framework version.
 Date getCreateDate()
          Returns the create date of this s c framework version.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFrameworkVersionId()
          Returns the framework version ID of this s c framework version.
 long getGroupId()
          Returns the group ID of this s c framework version.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this s c framework version.
 String getName()
          Returns the name of this s c framework version.
 long getPrimaryKey()
          Returns the primary key of this s c framework version.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getPriority()
          Returns the priority of this s c framework version.
 String getUrl()
          Returns the url of this s c framework version.
 long getUserId()
          Returns the user ID of this s c framework version.
 String getUserName()
          Returns the user name of this s c framework version.
 String getUserUuid()
          Returns the user uuid of this s c framework version.
 SCFrameworkVersion getWrappedModel()
           
 SCFrameworkVersion getWrappedSCFrameworkVersion()
          Deprecated. Renamed to getWrappedModel()
 int hashCode()
           
 boolean isActive()
          Returns true if this s c framework version is active.
 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.
 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 setActive(boolean active)
          Sets whether this s c framework version is active.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
          Sets the company ID of this s c framework version.
 void setCreateDate(Date createDate)
          Sets the create date of this s c framework version.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFrameworkVersionId(long frameworkVersionId)
          Sets the framework version ID of this s c framework version.
 void setGroupId(long groupId)
          Sets the group ID of this s c framework version.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this s c framework version.
 void setName(String name)
          Sets the name of this s c framework 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 framework version.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPriority(int priority)
          Sets the priority of this s c framework version.
 void setUrl(String url)
          Sets the url of this s c framework version.
 void setUserId(long userId)
          Sets the user ID of this s c framework version.
 void setUserName(String userName)
          Sets the user name of this s c framework version.
 void setUserUuid(String userUuid)
          Sets the user uuid of this s c framework version.
 CacheModel<SCFrameworkVersion> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SCFrameworkVersion toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 SCFrameworkVersion 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

SCFrameworkVersionWrapper

public SCFrameworkVersionWrapper(SCFrameworkVersion scFrameworkVersion)
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<SCFrameworkVersion>

setModelAttributes

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

getPrimaryKey

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

Specified by:
getPrimaryKey in interface SCFrameworkVersionModel
Returns:
the primary key of this s c framework version

setPrimaryKey

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

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

getFrameworkVersionId

public long getFrameworkVersionId()
Returns the framework version ID of this s c framework version.

Specified by:
getFrameworkVersionId in interface SCFrameworkVersionModel
Returns:
the framework version ID of this s c framework version

setFrameworkVersionId

public void setFrameworkVersionId(long frameworkVersionId)
Sets the framework version ID of this s c framework version.

Specified by:
setFrameworkVersionId in interface SCFrameworkVersionModel
Parameters:
frameworkVersionId - the framework version ID of this s c framework version

getGroupId

public long getGroupId()
Returns the group ID of this s c framework version.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface SCFrameworkVersionModel
Returns:
the group ID of this s c framework version

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this s c framework version.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface SCFrameworkVersionModel
Parameters:
groupId - the group ID of this s c framework version

getCompanyId

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

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

setCompanyId

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

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

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getUserName

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

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

setUserName

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

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

getCreateDate

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

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

setCreateDate

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

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

getModifiedDate

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

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

setModifiedDate

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

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

getName

public String getName()
Returns the name of this s c framework version.

Specified by:
getName in interface SCFrameworkVersionModel
Returns:
the name of this s c framework version

setName

public void setName(String name)
Sets the name of this s c framework version.

Specified by:
setName in interface SCFrameworkVersionModel
Parameters:
name - the name of this s c framework version

getUrl

public String getUrl()
Returns the url of this s c framework version.

Specified by:
getUrl in interface SCFrameworkVersionModel
Returns:
the url of this s c framework version

setUrl

public void setUrl(String url)
Sets the url of this s c framework version.

Specified by:
setUrl in interface SCFrameworkVersionModel
Parameters:
url - the url of this s c framework version

getActive

public boolean getActive()
Returns the active of this s c framework version.

Specified by:
getActive in interface SCFrameworkVersionModel
Returns:
the active of this s c framework version

isActive

public boolean isActive()
Returns true if this s c framework version is active.

Specified by:
isActive in interface SCFrameworkVersionModel
Returns:
true if this s c framework version is active; false otherwise

setActive

public void setActive(boolean active)
Sets whether this s c framework version is active.

Specified by:
setActive in interface SCFrameworkVersionModel
Parameters:
active - the active of this s c framework version

getPriority

public int getPriority()
Returns the priority of this s c framework version.

Specified by:
getPriority in interface SCFrameworkVersionModel
Returns:
the priority of this s c framework version

setPriority

public void setPriority(int priority)
Sets the priority of this s c framework version.

Specified by:
setPriority in interface SCFrameworkVersionModel
Parameters:
priority - the priority of this s c framework 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<SCFrameworkVersion>
Specified by:
isNew in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
setNew in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
isCachedModel in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
setCachedModel in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
isEscapedModel in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
setExpandoBridgeAttributes in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
clone in interface SCFrameworkVersionModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SCFrameworkVersion scFrameworkVersion)
Specified by:
compareTo in interface SCFrameworkVersionModel
Specified by:
compareTo in interface Comparable<SCFrameworkVersion>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<SCFrameworkVersion>
Specified by:
toCacheModel in interface SCFrameworkVersionModel
Returns:
the cache model object

toEscapedModel

public SCFrameworkVersion 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<SCFrameworkVersion>
Specified by:
toEscapedModel in interface SCFrameworkVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SCFrameworkVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SCFrameworkVersion>
Specified by:
toUnescapedModel in interface SCFrameworkVersionModel

toString

public String toString()
Specified by:
toString in interface SCFrameworkVersionModel
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<SCFrameworkVersion>
Specified by:
toXmlString in interface SCFrameworkVersionModel
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

equals

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

getWrappedSCFrameworkVersion

public SCFrameworkVersion getWrappedSCFrameworkVersion()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<SCFrameworkVersion>

Liferay 6.1.2-ce-ga3