com.liferay.portal.model
Class ResourceCodeWrapper

java.lang.Object
  extended by com.liferay.portal.model.ResourceCodeWrapper
All Implemented Interfaces:
BaseModel<ResourceCode>, ResourceCode, ResourceCodeModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ResourceCode>

public class ResourceCodeWrapper
extends java.lang.Object
implements ResourceCode

View Source

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

This class is a wrapper for ResourceCode.

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

Constructor Summary
ResourceCodeWrapper(ResourceCode resourceCode)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(ResourceCode resourceCode)
           
 long getCodeId()
           
 long getCompanyId()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getScope()
           
 ResourceCode getWrappedResourceCode()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setCodeId(long codeId)
           
 void setCompanyId(long companyId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setScope(int scope)
           
 ResourceCode 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

ResourceCodeWrapper

public ResourceCodeWrapper(ResourceCode resourceCode)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getCodeId

public long getCodeId()
Specified by:
getCodeId in interface ResourceCodeModel

setCodeId

public void setCodeId(long codeId)
Specified by:
setCodeId in interface ResourceCodeModel

getCompanyId

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

setCompanyId

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

getName

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

setName

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

getScope

public int getScope()
Specified by:
getScope in interface ResourceCodeModel

setScope

public void setScope(int scope)
Specified by:
setScope in interface ResourceCodeModel

toEscapedModel

public ResourceCode toEscapedModel()
Specified by:
toEscapedModel in interface ResourceCodeModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<ResourceCode>
Specified by:
isNew in interface ResourceCodeModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<ResourceCode>
Specified by:
setNew in interface ResourceCodeModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<ResourceCode>
Specified by:
isCachedModel in interface ResourceCodeModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<ResourceCode>
Specified by:
setCachedModel in interface ResourceCodeModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<ResourceCode>
Specified by:
isEscapedModel in interface ResourceCodeModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<ResourceCode>
Specified by:
setEscapedModel in interface ResourceCodeModel

getPrimaryKeyObj

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

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<ResourceCode>
Specified by:
getExpandoBridge in interface ResourceCodeModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<ResourceCode>
Specified by:
setExpandoBridgeAttributes in interface ResourceCodeModel

clone

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

compareTo

public int compareTo(ResourceCode resourceCode)
Specified by:
compareTo in interface ResourceCodeModel
Specified by:
compareTo in interface java.lang.Comparable<ResourceCode>

hashCode

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

toString

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

toXmlString

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

getWrappedResourceCode

public ResourceCode getWrappedResourceCode()