com.liferay.portlet.softwarecatalog.model
Class SCLicenseWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.SCLicenseWrapper
All Implemented Interfaces:
BaseModel<SCLicense>, SCLicense, SCLicenseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SCLicense>

public class SCLicenseWrapper
extends java.lang.Object
implements SCLicense

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for SCLicense.

Author:
Brian Wing Shun Chan
See Also:
SCLicense, Serialized Form
Generated:

Constructor Summary
SCLicenseWrapper(SCLicense scLicense)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(SCLicense scLicense)
           
 boolean getActive()
           
 ExpandoBridge getExpandoBridge()
           
 long getLicenseId()
           
 java.lang.String getName()
           
 boolean getOpenSource()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 boolean getRecommended()
           
 java.lang.String getUrl()
           
 SCLicense getWrappedSCLicense()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isOpenSource()
           
 boolean isRecommended()
           
 void setActive(boolean active)
           
 void setCachedModel(boolean cachedModel)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setLicenseId(long licenseId)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setOpenSource(boolean openSource)
           
 void setPrimaryKey(long pk)
           
 void setRecommended(boolean recommended)
           
 void setUrl(java.lang.String url)
           
 SCLicense toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCLicenseWrapper

public SCLicenseWrapper(SCLicense scLicense)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface SCLicenseModel

setPrimaryKey

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

getLicenseId

public long getLicenseId()
Specified by:
getLicenseId in interface SCLicenseModel

setLicenseId

public void setLicenseId(long licenseId)
Specified by:
setLicenseId in interface SCLicenseModel

getName

public java.lang.String getName()
Specified by:
getName in interface SCLicenseModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface SCLicenseModel

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface SCLicenseModel

setUrl

public void setUrl(java.lang.String url)
Specified by:
setUrl in interface SCLicenseModel

getOpenSource

public boolean getOpenSource()
Specified by:
getOpenSource in interface SCLicenseModel

isOpenSource

public boolean isOpenSource()
Specified by:
isOpenSource in interface SCLicenseModel

setOpenSource

public void setOpenSource(boolean openSource)
Specified by:
setOpenSource in interface SCLicenseModel

getActive

public boolean getActive()
Specified by:
getActive in interface SCLicenseModel

isActive

public boolean isActive()
Specified by:
isActive in interface SCLicenseModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface SCLicenseModel

getRecommended

public boolean getRecommended()
Specified by:
getRecommended in interface SCLicenseModel

isRecommended

public boolean isRecommended()
Specified by:
isRecommended in interface SCLicenseModel

setRecommended

public void setRecommended(boolean recommended)
Specified by:
setRecommended in interface SCLicenseModel

toEscapedModel

public SCLicense toEscapedModel()
Specified by:
toEscapedModel in interface SCLicenseModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<SCLicense>
Specified by:
isNew in interface SCLicenseModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<SCLicense>
Specified by:
setNew in interface SCLicenseModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<SCLicense>
Specified by:
isCachedModel in interface SCLicenseModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<SCLicense>
Specified by:
setCachedModel in interface SCLicenseModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<SCLicense>
Specified by:
isEscapedModel in interface SCLicenseModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<SCLicense>
Specified by:
setEscapedModel in interface SCLicenseModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<SCLicense>
Specified by:
getPrimaryKeyObj in interface SCLicenseModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<SCLicense>
Specified by:
getExpandoBridge in interface SCLicenseModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<SCLicense>
Specified by:
setExpandoBridgeAttributes in interface SCLicenseModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<SCLicense>
Specified by:
clone in interface SCLicenseModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(SCLicense scLicense)
Specified by:
compareTo in interface SCLicenseModel
Specified by:
compareTo in interface java.lang.Comparable<SCLicense>

hashCode

public int hashCode()
Specified by:
hashCode in interface SCLicenseModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface SCLicenseModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<SCLicense>
Specified by:
toXmlString in interface SCLicenseModel

getWrappedSCLicense

public SCLicense getWrappedSCLicense()