com.liferay.portal.model.impl
Class RegionModelImpl

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

public class RegionModelImpl
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 Region table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Region, com.liferay.portal.service.model.RegionModel, com.liferay.portal.service.model.impl.RegionImpl, 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_NAME
           
static boolean XSS_ALLOW_REGIONCODE
           
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
RegionModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 boolean getActive()
           
 long getCountryId()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getRegionCode()
           
 long getRegionId()
           
 int hashCode()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setCountryId(long countryId)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(long pk)
           
 void setRegionCode(java.lang.String regionCode)
           
 void setRegionId(long regionId)
           
 
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_REGIONCODE

public static boolean XSS_ALLOW_REGIONCODE

XSS_ALLOW_NAME

public static boolean XSS_ALLOW_NAME

LOCK_EXPIRATION_TIME

public static long LOCK_EXPIRATION_TIME
Constructor Detail

RegionModelImpl

public RegionModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getRegionId

public long getRegionId()

setRegionId

public void setRegionId(long regionId)

getCountryId

public long getCountryId()

setCountryId

public void setCountryId(long countryId)

getRegionCode

public java.lang.String getRegionCode()

setRegionCode

public void setRegionCode(java.lang.String regionCode)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getActive

public boolean getActive()

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

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