com.liferay.portal.model
Class PhoneWrapper

java.lang.Object
  extended by com.liferay.portal.model.PhoneWrapper
All Implemented Interfaces:
BaseModel<Phone>, Phone, PhoneModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Phone>

public class PhoneWrapper
extends java.lang.Object
implements Phone

View Source

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

This class is a wrapper for Phone.

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

Constructor Summary
PhoneWrapper(Phone phone)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Phone phone)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getExtension()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getNumber()
           
 long getPhoneId()
           
 boolean getPrimary()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 ListType getType()
           
 int getTypeId()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 Phone getWrappedPhone()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isPrimary()
           
 void setCachedModel(boolean cachedModel)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setExtension(java.lang.String extension)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 boolean setNew(boolean n)
           
 void setNumber(java.lang.String number)
           
 void setPhoneId(long phoneId)
           
 void setPrimary(boolean primary)
           
 void setPrimaryKey(long pk)
           
 void setTypeId(int typeId)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 Phone 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

PhoneWrapper

public PhoneWrapper(Phone phone)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getPhoneId

public long getPhoneId()
Specified by:
getPhoneId in interface PhoneModel

setPhoneId

public void setPhoneId(long phoneId)
Specified by:
setPhoneId in interface PhoneModel

getCompanyId

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

setCompanyId

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

getUserId

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

setUserId

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

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Specified by:
getUserUuid in interface PhoneModel
Throws:
com.liferay.portal.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface PhoneModel

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface PhoneModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface PhoneModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface PhoneModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface PhoneModel

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface PhoneModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface PhoneModel

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface PhoneModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface PhoneModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface PhoneModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface PhoneModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface PhoneModel

getNumber

public java.lang.String getNumber()
Specified by:
getNumber in interface PhoneModel

setNumber

public void setNumber(java.lang.String number)
Specified by:
setNumber in interface PhoneModel

getExtension

public java.lang.String getExtension()
Specified by:
getExtension in interface PhoneModel

setExtension

public void setExtension(java.lang.String extension)
Specified by:
setExtension in interface PhoneModel

getTypeId

public int getTypeId()
Specified by:
getTypeId in interface PhoneModel

setTypeId

public void setTypeId(int typeId)
Specified by:
setTypeId in interface PhoneModel

getPrimary

public boolean getPrimary()
Specified by:
getPrimary in interface PhoneModel

isPrimary

public boolean isPrimary()
Specified by:
isPrimary in interface PhoneModel

setPrimary

public void setPrimary(boolean primary)
Specified by:
setPrimary in interface PhoneModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Phone>
Specified by:
isNew in interface PhoneModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Phone>
Specified by:
setNew in interface PhoneModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Phone>
Specified by:
isCachedModel in interface PhoneModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Phone>
Specified by:
setCachedModel in interface PhoneModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Phone>
Specified by:
isEscapedModel in interface PhoneModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Phone>
Specified by:
setEscapedModel in interface PhoneModel

getPrimaryKeyObj

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

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Phone>
Specified by:
getExpandoBridge in interface PhoneModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Phone>
Specified by:
setExpandoBridgeAttributes in interface PhoneModel

clone

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

compareTo

public int compareTo(Phone phone)
Specified by:
compareTo in interface PhoneModel
Specified by:
compareTo in interface java.lang.Comparable<Phone>

hashCode

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

toEscapedModel

public Phone toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<Phone>
Specified by:
toEscapedModel in interface PhoneModel

toString

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

toXmlString

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

getType

public ListType getType()
Specified by:
getType in interface Phone

getWrappedPhone

public Phone getWrappedPhone()