@JSON(strict=true)
@ProviderType
public class AddressModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
implements com.liferay.portal.kernel.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 FormModifier 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 String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
MAILING_COLUMN_BITMASK |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PRIMARY_COLUMN_BITMASK |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
AddressModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Address address) |
boolean |
equals(Object obj) |
long |
getAddressId() |
String |
getCity() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCountryId() |
Date |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
boolean |
getMailing() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
boolean |
getOriginalMailing() |
boolean |
getOriginalPrimary() |
long |
getOriginalUserId() |
String |
getOriginalUuid() |
boolean |
getPrimary() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getRegionId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
String |
getStreet1() |
String |
getStreet2() |
String |
getStreet3() |
long |
getTypeId() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
String |
getZip() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isMailing() |
boolean |
isPrimary() |
void |
resetOriginalValues() |
void |
setAddressId(long addressId) |
void |
setCity(String city) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCountryId(long countryId) |
void |
setCreateDate(Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setMailing(boolean mailing) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimary(boolean primary) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRegionId(long regionId) |
void |
setStreet1(String street1) |
void |
setStreet2(String street2) |
void |
setStreet3(String street3) |
void |
setTypeId(long typeId) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
void |
setUuid(String uuid) |
void |
setZip(String zip) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Address> |
toCacheModel() |
com.liferay.portal.kernel.model.Address |
toEscapedModel() |
static com.liferay.portal.kernel.model.Address |
toModel(com.liferay.portal.kernel.model.AddressSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Address> |
toModels(com.liferay.portal.kernel.model.AddressSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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.kernel.model.Address toModel(com.liferay.portal.kernel.model.AddressSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Address> toModels(com.liferay.portal.kernel.model.AddressSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.AddressModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.AddressModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.AddressModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.AddressModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.AddressModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.AddressModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
@JSON public String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.AddressModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.portal.kernel.model.AddressModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
public String getOriginalUuid()
@JSON public long getAddressId()
getAddressId
in interface com.liferay.portal.kernel.model.AddressModel
public void setAddressId(long addressId)
setAddressId
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AddressModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AddressModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getOriginalCompanyId()
@JSON public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AddressModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AddressModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AddressModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AddressModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public long getOriginalUserId()
@JSON public String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AddressModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(String userName)
setUserName
in interface com.liferay.portal.kernel.model.AddressModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
@JSON public Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AddressModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AddressModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
@JSON public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AddressModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AddressModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.AddressModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.AddressModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.AddressModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AddressModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AddressModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getOriginalClassPK()
@JSON public String getStreet1()
getStreet1
in interface com.liferay.portal.kernel.model.AddressModel
public void setStreet1(String street1)
setStreet1
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public String getStreet2()
getStreet2
in interface com.liferay.portal.kernel.model.AddressModel
public void setStreet2(String street2)
setStreet2
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public String getStreet3()
getStreet3
in interface com.liferay.portal.kernel.model.AddressModel
public void setStreet3(String street3)
setStreet3
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public String getCity()
getCity
in interface com.liferay.portal.kernel.model.AddressModel
public void setCity(String city)
setCity
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public String getZip()
getZip
in interface com.liferay.portal.kernel.model.AddressModel
public void setZip(String zip)
setZip
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public long getRegionId()
getRegionId
in interface com.liferay.portal.kernel.model.AddressModel
public void setRegionId(long regionId)
setRegionId
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public long getCountryId()
getCountryId
in interface com.liferay.portal.kernel.model.AddressModel
public void setCountryId(long countryId)
setCountryId
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public long getTypeId()
getTypeId
in interface com.liferay.portal.kernel.model.AddressModel
public void setTypeId(long typeId)
setTypeId
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public boolean getMailing()
getMailing
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public boolean isMailing()
isMailing
in interface com.liferay.portal.kernel.model.AddressModel
public void setMailing(boolean mailing)
setMailing
in interface com.liferay.portal.kernel.model.AddressModel
public boolean getOriginalMailing()
@JSON public boolean getPrimary()
getPrimary
in interface com.liferay.portal.kernel.model.AddressModel
@JSON public boolean isPrimary()
isPrimary
in interface com.liferay.portal.kernel.model.AddressModel
public void setPrimary(boolean primary)
setPrimary
in interface com.liferay.portal.kernel.model.AddressModel
public boolean getOriginalPrimary()
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.AddressModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.AddressModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public com.liferay.portal.kernel.model.Address toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.AddressModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.AddressModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public int compareTo(com.liferay.portal.kernel.model.Address address)
compareTo
in interface com.liferay.portal.kernel.model.AddressModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Address>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.AddressModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Address> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.AddressModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Address>
public String toString()
toString
in interface com.liferay.portal.kernel.model.AddressModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.AddressModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Address>