com.liferay.portal.model.impl
Class PhoneModelImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portal.model.impl.PhoneModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
PhoneImpl

public class PhoneModelImpl
extends BaseModelImpl

View Source

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

This class is a model that represents the Phone table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Phone, com.liferay.portal.service.model.PhoneModel, com.liferay.portal.service.model.impl.PhoneImpl, Serialized Form

Field Summary
static long LOCK_EXPIRATION_TIME
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static boolean XSS_ALLOW_BY_MODEL
           
static boolean XSS_ALLOW_EXTENSION
           
static boolean XSS_ALLOW_NUMBER
           
static boolean XSS_ALLOW_USERNAME
           
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
PhoneModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getExtension()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getNumber()
           
 long getPhoneId()
           
 boolean getPrimary()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getTypeId()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 int hashCode()
           
 boolean isPrimary()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setExtension(java.lang.String extension)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 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)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static java.lang.String TABLE_NAME

TABLE_COLUMNS

public static java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static java.lang.String TABLE_SQL_CREATE

TABLE_SQL_DROP

public static java.lang.String TABLE_SQL_DROP

XSS_ALLOW_BY_MODEL

public static boolean XSS_ALLOW_BY_MODEL

XSS_ALLOW_USERNAME

public static boolean XSS_ALLOW_USERNAME

XSS_ALLOW_NUMBER

public static boolean XSS_ALLOW_NUMBER

XSS_ALLOW_EXTENSION

public static boolean XSS_ALLOW_EXTENSION

LOCK_EXPIRATION_TIME

public static long LOCK_EXPIRATION_TIME
Constructor Detail

PhoneModelImpl

public PhoneModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getPhoneId

public long getPhoneId()

setPhoneId

public void setPhoneId(long phoneId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date createDate)

getModifiedDate

public java.util.Date getModifiedDate()

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getNumber

public java.lang.String getNumber()

setNumber

public void setNumber(java.lang.String number)

getExtension

public java.lang.String getExtension()

setExtension

public void setExtension(java.lang.String extension)

getTypeId

public int getTypeId()

setTypeId

public void setTypeId(int typeId)

getPrimary

public boolean getPrimary()

isPrimary

public boolean isPrimary()

setPrimary

public void setPrimary(boolean primary)

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()