com.liferay.portal.model
Class ClassNameWrapper
java.lang.Object
com.liferay.portal.model.ClassNameWrapper
- All Implemented Interfaces:
- BaseModel<ClassName>, ClassName, ClassNameModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ClassName>
public class ClassNameWrapper
- extends java.lang.Object
- implements ClassName
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ClassName.
- Author:
- Brian Wing Shun Chan
- See Also:
ClassName,
Serialized Form- Generated:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ClassNameWrapper
public ClassNameWrapper(ClassName className)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ClassNameModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ClassNameModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface ClassNameModel
getClassNameId
public long getClassNameId()
- Specified by:
getClassNameId in interface ClassNameModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId in interface ClassNameModel
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface ClassNameModel
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue in interface ClassNameModel
toEscapedModel
public ClassName toEscapedModel()
- Specified by:
toEscapedModel in interface ClassNameModel
isNew
public boolean isNew()
- Specified by:
isNew in interface BaseModel<ClassName>- Specified by:
isNew in interface ClassNameModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew in interface BaseModel<ClassName>- Specified by:
setNew in interface ClassNameModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel in interface BaseModel<ClassName>- Specified by:
isCachedModel in interface ClassNameModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface BaseModel<ClassName>- Specified by:
setCachedModel in interface ClassNameModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface BaseModel<ClassName>- Specified by:
isEscapedModel in interface ClassNameModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface BaseModel<ClassName>- Specified by:
setEscapedModel in interface ClassNameModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface BaseModel<ClassName>- Specified by:
getPrimaryKeyObj in interface ClassNameModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface BaseModel<ClassName>- Specified by:
getExpandoBridge in interface ClassNameModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<ClassName>- Specified by:
setExpandoBridgeAttributes in interface ClassNameModel
clone
public java.lang.Object clone()
- Specified by:
clone in interface BaseModel<ClassName>- Specified by:
clone in interface ClassNameModel- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(ClassName className)
- Specified by:
compareTo in interface ClassNameModel- Specified by:
compareTo in interface java.lang.Comparable<ClassName>
hashCode
public int hashCode()
- Specified by:
hashCode in interface ClassNameModel- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface ClassNameModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface BaseModel<ClassName>- Specified by:
toXmlString in interface ClassNameModel
getWrappedClassName
public ClassName getWrappedClassName()