@ProviderType public interface AddressModel extends AttachedModel, BaseModel<Address>, CTModel<Address>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.AddressModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.AddressImpl
.
Address
Modifier and Type | Method and Description |
---|---|
Address |
cloneWithOriginalValues() |
long |
getAddressId()
Returns the address ID of this address.
|
String |
getCity()
Returns the city of this address.
|
String |
getClassName()
Returns the fully qualified class name of this address.
|
long |
getClassNameId()
Returns the class name ID of this address.
|
long |
getClassPK()
Returns the class pk of this address.
|
long |
getCompanyId()
Returns the company ID of this address.
|
long |
getCountryId()
Returns the country ID of this address.
|
Date |
getCreateDate()
Returns the create date of this address.
|
long |
getCtCollectionId()
Returns the ct collection ID of this address.
|
String |
getDescription()
Returns the description of this address.
|
String |
getExternalReferenceCode()
Returns the external reference code of this address.
|
double |
getLatitude()
Returns the latitude of this address.
|
long |
getListTypeId()
Returns the list type ID of this address.
|
double |
getLongitude()
Returns the longitude of this address.
|
boolean |
getMailing()
Returns the mailing of this address.
|
Date |
getModifiedDate()
Returns the modified date of this address.
|
long |
getMvccVersion()
Returns the mvcc version of this address.
|
String |
getName()
Returns the name of this address.
|
boolean |
getPrimary()
Returns the primary of this address.
|
long |
getPrimaryKey()
Returns the primary key of this address.
|
long |
getRegionId()
Returns the region ID of this address.
|
String |
getStreet1()
Returns the street1 of this address.
|
String |
getStreet2()
Returns the street2 of this address.
|
String |
getStreet3()
Returns the street3 of this address.
|
long |
getUserId()
Returns the user ID of this address.
|
String |
getUserName()
Returns the user name of this address.
|
String |
getUserUuid()
Returns the user uuid of this address.
|
String |
getUuid()
Returns the uuid of this address.
|
Date |
getValidationDate()
Returns the validation date of this address.
|
int |
getValidationStatus()
Returns the validation status of this address.
|
String |
getZip()
Returns the zip of this address.
|
boolean |
isMailing()
Returns
true if this address is mailing. |
boolean |
isPrimary()
Returns
true if this address is primary. |
void |
setAddressId(long addressId)
Sets the address ID of this address.
|
void |
setCity(String city)
Sets the city of this address.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this address.
|
void |
setClassPK(long classPK)
Sets the class pk of this address.
|
void |
setCompanyId(long companyId)
Sets the company ID of this address.
|
void |
setCountryId(long countryId)
Sets the country ID of this address.
|
void |
setCreateDate(Date createDate)
Sets the create date of this address.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this address.
|
void |
setDescription(String description)
Sets the description of this address.
|
void |
setExternalReferenceCode(String externalReferenceCode)
Sets the external reference code of this address.
|
void |
setLatitude(double latitude)
Sets the latitude of this address.
|
void |
setListTypeId(long listTypeId)
Sets the list type ID of this address.
|
void |
setLongitude(double longitude)
Sets the longitude of this address.
|
void |
setMailing(boolean mailing)
Sets whether this address is mailing.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this address.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this address.
|
void |
setName(String name)
Sets the name of this address.
|
void |
setPrimary(boolean primary)
Sets whether this address is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this address.
|
void |
setRegionId(long regionId)
Sets the region ID of this address.
|
void |
setStreet1(String street1)
Sets the street1 of this address.
|
void |
setStreet2(String street2)
Sets the street2 of this address.
|
void |
setStreet3(String street3)
Sets the street3 of this address.
|
void |
setUserId(long userId)
Sets the user ID of this address.
|
void |
setUserName(String userName)
Sets the user name of this address.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this address.
|
void |
setUuid(String uuid)
Sets the uuid of this address.
|
void |
setValidationDate(Date validationDate)
Sets the validation date of this address.
|
void |
setValidationStatus(int validationStatus)
Sets the validation status of this address.
|
void |
setZip(String zip)
Sets the zip of this address.
|
default String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
clone, getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
getPrimaryKey
in interface CTModel<Address>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<Address>
primaryKey
- the primary key of this addresslong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this addresslong getCtCollectionId()
getCtCollectionId
in interface CTModel<Address>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<Address>
ctCollectionId
- the ct collection ID of this address@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this address@AutoEscape String getExternalReferenceCode()
getExternalReferenceCode
in interface ExternalReferenceCodeModel
void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode
in interface ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this addresslong getAddressId()
void setAddressId(long addressId)
addressId
- the address ID of this addresslong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this addresslong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this addressString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this address@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this addressDate getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this addressDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this addressString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this addresslong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class pk of this addresslong getCountryId()
void setCountryId(long countryId)
countryId
- the country ID of this addresslong getListTypeId()
void setListTypeId(long listTypeId)
listTypeId
- the list type ID of this addresslong getRegionId()
void setRegionId(long regionId)
regionId
- the region ID of this address@AutoEscape String getCity()
void setCity(String city)
city
- the city of this address@AutoEscape String getDescription()
void setDescription(String description)
description
- the description of this addressdouble getLatitude()
void setLatitude(double latitude)
latitude
- the latitude of this addressdouble getLongitude()
void setLongitude(double longitude)
longitude
- the longitude of this addressboolean getMailing()
boolean isMailing()
true
if this address is mailing.true
if this address is mailing; false
otherwisevoid setMailing(boolean mailing)
mailing
- the mailing of this address@AutoEscape String getName()
void setName(String name)
name
- the name of this addressboolean getPrimary()
boolean isPrimary()
true
if this address is primary.true
if this address is primary; false
otherwisevoid setPrimary(boolean primary)
primary
- the primary of this address@AutoEscape String getStreet1()
void setStreet1(String street1)
street1
- the street1 of this address@AutoEscape String getStreet2()
void setStreet2(String street2)
street2
- the street2 of this address@AutoEscape String getStreet3()
void setStreet3(String street3)
street3
- the street3 of this addressDate getValidationDate()
void setValidationDate(Date validationDate)
validationDate
- the validation date of this addressint getValidationStatus()
void setValidationStatus(int validationStatus)
validationStatus
- the validation status of this address@AutoEscape String getZip()
void setZip(String zip)
zip
- the zip of this addressAddress cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Address>
default String toXmlString()