@JSON(strict=true)
@ProviderType
public class AddressModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>
implements com.liferay.portal.model.AddressModel
This implementation and its corresponding interface AddressModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AddressImpl.
AddressImpl,
Address,
AddressModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CREATEDATE_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
MAILING_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PRIMARY_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
AddressModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.Address address) |
boolean |
equals(java.lang.Object obj) |
long |
getAddressId() |
java.lang.String |
getCity() |
java.lang.String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCountryId() |
java.util.Date |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getLastPublishDate() |
boolean |
getMailing() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getMvccVersion() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
boolean |
getOriginalMailing() |
boolean |
getOriginalPrimary() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
boolean |
getPrimary() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getRegionId() |
com.liferay.portlet.exportimport.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getStreet1() |
java.lang.String |
getStreet2() |
java.lang.String |
getStreet3() |
long |
getTypeId() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
java.lang.String |
getZip() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isMailing() |
boolean |
isPrimary() |
void |
resetOriginalValues() |
void |
setAddressId(long addressId) |
void |
setCity(java.lang.String city) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCountryId(long countryId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setMailing(boolean mailing) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimary(boolean primary) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRegionId(long regionId) |
void |
setStreet1(java.lang.String street1) |
void |
setStreet2(java.lang.String street2) |
void |
setStreet3(java.lang.String street3) |
void |
setTypeId(long typeId) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
void |
setZip(java.lang.String zip) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.Address> |
toCacheModel() |
com.liferay.portal.model.Address |
toEscapedModel() |
static com.liferay.portal.model.Address |
toModel(com.liferay.portal.model.AddressSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.Address> |
toModels(com.liferay.portal.model.AddressSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long MAILING_COLUMN_BITMASK
public static final long PRIMARY_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.model.Address toModel(com.liferay.portal.model.AddressSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.Address> toModels(com.liferay.portal.model.AddressSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.AddressModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.AddressModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.AddressModelgetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.AddressModelsetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.AddressModelgetMvccVersion in interface com.liferay.portal.model.MVCCModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.AddressModelsetMvccVersion in interface com.liferay.portal.model.MVCCModel@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.portal.model.AddressModelgetUuid in interface com.liferay.portal.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.model.AddressModelsetUuid in interface com.liferay.portal.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getAddressId()
getAddressId in interface com.liferay.portal.model.AddressModelpublic void setAddressId(long addressId)
setAddressId in interface com.liferay.portal.model.AddressModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AddressModelgetCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portal.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AddressModelsetCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portal.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AddressModelgetUserId in interface com.liferay.portal.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AddressModelsetUserId in interface com.liferay.portal.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.model.AddressModelgetUserUuid in interface com.liferay.portal.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AddressModelsetUserUuid in interface com.liferay.portal.model.AuditedModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AddressModelgetUserName in interface com.liferay.portal.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AddressModelsetUserName in interface com.liferay.portal.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AddressModelgetCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portal.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AddressModelsetCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portal.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AddressModelgetModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portal.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AddressModelsetModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portal.model.StagedModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.model.AddressModelgetClassName in interface com.liferay.portal.model.TypedModelpublic void setClassName(java.lang.String className)
setClassName in interface com.liferay.portal.model.AddressModel@JSON public long getClassNameId()
getClassNameId in interface com.liferay.portal.model.AddressModelgetClassNameId in interface com.liferay.portal.model.TypedModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.model.AddressModelsetClassNameId in interface com.liferay.portal.model.TypedModelpublic long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK in interface com.liferay.portal.model.AddressModelgetClassPK in interface com.liferay.portal.model.AttachedModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.model.AddressModelsetClassPK in interface com.liferay.portal.model.AttachedModelpublic long getOriginalClassPK()
@JSON public java.lang.String getStreet1()
getStreet1 in interface com.liferay.portal.model.AddressModelpublic void setStreet1(java.lang.String street1)
setStreet1 in interface com.liferay.portal.model.AddressModel@JSON public java.lang.String getStreet2()
getStreet2 in interface com.liferay.portal.model.AddressModelpublic void setStreet2(java.lang.String street2)
setStreet2 in interface com.liferay.portal.model.AddressModel@JSON public java.lang.String getStreet3()
getStreet3 in interface com.liferay.portal.model.AddressModelpublic void setStreet3(java.lang.String street3)
setStreet3 in interface com.liferay.portal.model.AddressModel@JSON public java.lang.String getCity()
getCity in interface com.liferay.portal.model.AddressModelpublic void setCity(java.lang.String city)
setCity in interface com.liferay.portal.model.AddressModel@JSON public java.lang.String getZip()
getZip in interface com.liferay.portal.model.AddressModelpublic void setZip(java.lang.String zip)
setZip in interface com.liferay.portal.model.AddressModel@JSON public long getRegionId()
getRegionId in interface com.liferay.portal.model.AddressModelpublic void setRegionId(long regionId)
setRegionId in interface com.liferay.portal.model.AddressModel@JSON public long getCountryId()
getCountryId in interface com.liferay.portal.model.AddressModelpublic void setCountryId(long countryId)
setCountryId in interface com.liferay.portal.model.AddressModel@JSON public long getTypeId()
getTypeId in interface com.liferay.portal.model.AddressModelpublic void setTypeId(long typeId)
setTypeId in interface com.liferay.portal.model.AddressModel@JSON public boolean getMailing()
getMailing in interface com.liferay.portal.model.AddressModelpublic boolean isMailing()
isMailing in interface com.liferay.portal.model.AddressModelpublic void setMailing(boolean mailing)
setMailing in interface com.liferay.portal.model.AddressModelpublic boolean getOriginalMailing()
@JSON public boolean getPrimary()
getPrimary in interface com.liferay.portal.model.AddressModelpublic boolean isPrimary()
isPrimary in interface com.liferay.portal.model.AddressModelpublic void setPrimary(boolean primary)
setPrimary in interface com.liferay.portal.model.AddressModelpublic boolean getOriginalPrimary()
@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.model.AddressModelgetLastPublishDate in interface com.liferay.portal.model.StagedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.model.AddressModelsetLastPublishDate in interface com.liferay.portal.model.StagedModelpublic com.liferay.portlet.exportimport.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.AddressModelgetExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.AddressModelsetExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public com.liferay.portal.model.Address toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.AddressModeltoEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public java.lang.Object clone()
clone in interface com.liferay.portal.model.AddressModelclone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>clone in interface com.liferay.portal.model.StagedModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public int compareTo(com.liferay.portal.model.Address address)
compareTo in interface com.liferay.portal.model.AddressModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Address>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.AddressModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Address> toCacheModel()
toCacheModel in interface com.liferay.portal.model.AddressModeltoCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Address>public java.lang.String toString()
toString in interface com.liferay.portal.model.AddressModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.AddressModeltoXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Address>