com.liferay.portal.model.impl
Class AddressModelImpl

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

public class AddressModelImpl
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 Address table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Address, com.liferay.portal.service.model.AddressModel, com.liferay.portal.service.model.impl.AddressImpl, 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_CITY
           
static boolean XSS_ALLOW_STREET1
           
static boolean XSS_ALLOW_STREET2
           
static boolean XSS_ALLOW_STREET3
           
static boolean XSS_ALLOW_USERNAME
           
static boolean XSS_ALLOW_ZIP
           
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
AddressModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 long getAddressId()
           
 java.lang.String getCity()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 long getCountryId()
           
 java.util.Date getCreateDate()
           
 boolean getMailing()
           
 java.util.Date getModifiedDate()
           
 boolean getPrimary()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getRegionId()
           
 java.lang.String getStreet1()
           
 java.lang.String getStreet2()
           
 java.lang.String getStreet3()
           
 int getTypeId()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getZip()
           
 int hashCode()
           
 boolean isMailing()
           
 boolean isPrimary()
           
 void setAddressId(long addressId)
           
 void setCity(java.lang.String city)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCountryId(long countryId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setMailing(boolean mailing)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setPrimary(boolean primary)
           
 void setPrimaryKey(long pk)
           
 void setRegionId(long regionId)
           
 void setStreet1(java.lang.String street1)
           
 void setStreet2(java.lang.String street2)
           
 void setStreet3(java.lang.String street3)
           
 void setTypeId(int typeId)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setZip(java.lang.String zip)
           
 
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_STREET1

public static boolean XSS_ALLOW_STREET1

XSS_ALLOW_STREET2

public static boolean XSS_ALLOW_STREET2

XSS_ALLOW_STREET3

public static boolean XSS_ALLOW_STREET3

XSS_ALLOW_CITY

public static boolean XSS_ALLOW_CITY

XSS_ALLOW_ZIP

public static boolean XSS_ALLOW_ZIP

LOCK_EXPIRATION_TIME

public static long LOCK_EXPIRATION_TIME
Constructor Detail

AddressModelImpl

public AddressModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getAddressId

public long getAddressId()

setAddressId

public void setAddressId(long addressId)

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)

getStreet1

public java.lang.String getStreet1()

setStreet1

public void setStreet1(java.lang.String street1)

getStreet2

public java.lang.String getStreet2()

setStreet2

public void setStreet2(java.lang.String street2)

getStreet3

public java.lang.String getStreet3()

setStreet3

public void setStreet3(java.lang.String street3)

getCity

public java.lang.String getCity()

setCity

public void setCity(java.lang.String city)

getZip

public java.lang.String getZip()

setZip

public void setZip(java.lang.String zip)

getRegionId

public long getRegionId()

setRegionId

public void setRegionId(long regionId)

getCountryId

public long getCountryId()

setCountryId

public void setCountryId(long countryId)

getTypeId

public int getTypeId()

setTypeId

public void setTypeId(int typeId)

getMailing

public boolean getMailing()

isMailing

public boolean isMailing()

setMailing

public void setMailing(boolean mailing)

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()