Package com.liferay.portal.kernel.model
Interface AddressModel
- All Superinterfaces:
AttachedModel
,AuditedModel
,BaseModel<Address>
,ClassedModel
,Cloneable
,Comparable<Address>
,CTModel<Address>
,ExternalReferenceCodeModel
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
- All Known Subinterfaces:
Address
- All Known Implementing Classes:
AddressWrapper
@ProviderType
public interface AddressModel
extends AttachedModel, BaseModel<Address>, CTModel<Address>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Address service. Represents a row in the "Address" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the address ID of this address.getCity()
Returns the city of this address.Returns the fully qualified class name of this address.long
Returns the class name ID of this address.long
Returns the class pk of this address.long
Returns the company ID of this address.long
Returns the country ID of this address.Returns the create date of this address.long
Returns the ct collection ID of this address.Returns the description of this address.Returns the external reference code of this address.double
Returns the latitude of this address.long
Returns the list type ID of this address.double
Returns the longitude of this address.boolean
Returns the mailing of this address.Returns the modified date of this address.long
Returns the mvcc version of this address.getName()
Returns the name of this address.boolean
Returns the primary of this address.long
Returns the primary key of this address.long
Returns the region ID of this address.Returns the street1 of this address.Returns the street2 of this address.Returns the street3 of this address.long
Returns the user ID of this address.Returns the user name of this address.Returns the user uuid of this address.getUuid()
Returns the uuid of this address.Returns the validation date of this address.int
Returns the validation status of this address.getZip()
Returns the zip of this address.boolean
Returnstrue
if this address is mailing.boolean
Returnstrue
if this address is primary.void
setAddressId
(long addressId) Sets the address ID of this address.void
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
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
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
Sets the zip of this address.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this address.- Specified by:
getPrimaryKey
in interfaceCTModel<Address>
- Returns:
- the primary key of this address
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this address.- Specified by:
setPrimaryKey
in interfaceCTModel<Address>
- Parameters:
primaryKey
- the primary key of this address
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this address.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this address
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this address.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this address
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this address.- Specified by:
getCtCollectionId
in interfaceCTModel<Address>
- Returns:
- the ct collection ID of this address
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this address.- Specified by:
setCtCollectionId
in interfaceCTModel<Address>
- Parameters:
ctCollectionId
- the ct collection ID of this address
-
getUuid
Returns the uuid of this address.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this address
-
setUuid
Sets the uuid of this address.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this address
-
getExternalReferenceCode
Returns the external reference code of this address.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this address
-
setExternalReferenceCode
Sets the external reference code of this address.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this address
-
getAddressId
long getAddressId()Returns the address ID of this address.- Returns:
- the address ID of this address
-
setAddressId
void setAddressId(long addressId) Sets the address ID of this address.- Parameters:
addressId
- the address ID of this address
-
getCompanyId
long getCompanyId()Returns the company ID of this address.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this address
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this address.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this address
-
getUserId
long getUserId()Returns the user ID of this address.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this address
-
setUserId
void setUserId(long userId) Sets the user ID of this address.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this address
-
getUserUuid
String getUserUuid()Returns the user uuid of this address.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this address
-
setUserUuid
Sets the user uuid of this address.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this address
-
getUserName
Returns the user name of this address.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this address
-
setUserName
Sets the user name of this address.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this address
-
getCreateDate
Date getCreateDate()Returns the create date of this address.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this address
-
setCreateDate
Sets the create date of this address.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this address
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this address.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this address
-
setModifiedDate
Sets the modified date of this address.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this address
-
getClassName
String getClassName()Returns the fully qualified class name of this address.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this address
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this address.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this address
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this address.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this address
-
getClassPK
long getClassPK()Returns the class pk of this address.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this address
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this address.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this address
-
getCountryId
long getCountryId()Returns the country ID of this address.- Returns:
- the country ID of this address
-
setCountryId
void setCountryId(long countryId) Sets the country ID of this address.- Parameters:
countryId
- the country ID of this address
-
getListTypeId
long getListTypeId()Returns the list type ID of this address.- Returns:
- the list type ID of this address
-
setListTypeId
void setListTypeId(long listTypeId) Sets the list type ID of this address.- Parameters:
listTypeId
- the list type ID of this address
-
getRegionId
long getRegionId()Returns the region ID of this address.- Returns:
- the region ID of this address
-
setRegionId
void setRegionId(long regionId) Sets the region ID of this address.- Parameters:
regionId
- the region ID of this address
-
getCity
Returns the city of this address.- Returns:
- the city of this address
-
setCity
Sets the city of this address.- Parameters:
city
- the city of this address
-
getDescription
Returns the description of this address.- Returns:
- the description of this address
-
setDescription
Sets the description of this address.- Parameters:
description
- the description of this address
-
getLatitude
double getLatitude()Returns the latitude of this address.- Returns:
- the latitude of this address
-
setLatitude
void setLatitude(double latitude) Sets the latitude of this address.- Parameters:
latitude
- the latitude of this address
-
getLongitude
double getLongitude()Returns the longitude of this address.- Returns:
- the longitude of this address
-
setLongitude
void setLongitude(double longitude) Sets the longitude of this address.- Parameters:
longitude
- the longitude of this address
-
getMailing
boolean getMailing()Returns the mailing of this address.- Returns:
- the mailing of this address
-
isMailing
boolean isMailing()Returnstrue
if this address is mailing.- Returns:
true
if this address is mailing;false
otherwise
-
setMailing
void setMailing(boolean mailing) Sets whether this address is mailing.- Parameters:
mailing
- the mailing of this address
-
getName
Returns the name of this address.- Returns:
- the name of this address
-
setName
Sets the name of this address.- Parameters:
name
- the name of this address
-
getPrimary
boolean getPrimary()Returns the primary of this address.- Returns:
- the primary of this address
-
isPrimary
boolean isPrimary()Returnstrue
if this address is primary.- Returns:
true
if this address is primary;false
otherwise
-
setPrimary
void setPrimary(boolean primary) Sets whether this address is primary.- Parameters:
primary
- the primary of this address
-
getStreet1
Returns the street1 of this address.- Returns:
- the street1 of this address
-
setStreet1
Sets the street1 of this address.- Parameters:
street1
- the street1 of this address
-
getStreet2
Returns the street2 of this address.- Returns:
- the street2 of this address
-
setStreet2
Sets the street2 of this address.- Parameters:
street2
- the street2 of this address
-
getStreet3
Returns the street3 of this address.- Returns:
- the street3 of this address
-
setStreet3
Sets the street3 of this address.- Parameters:
street3
- the street3 of this address
-
getValidationDate
Date getValidationDate()Returns the validation date of this address.- Returns:
- the validation date of this address
-
setValidationDate
Sets the validation date of this address.- Parameters:
validationDate
- the validation date of this address
-
getValidationStatus
int getValidationStatus()Returns the validation status of this address.- Returns:
- the validation status of this address
-
setValidationStatus
void setValidationStatus(int validationStatus) Sets the validation status of this address.- Parameters:
validationStatus
- the validation status of this address
-
getZip
Returns the zip of this address.- Returns:
- the zip of this address
-
setZip
Sets the zip of this address.- Parameters:
zip
- the zip of this address
-
cloneWithOriginalValues
Address cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Address>
-
toXmlString
-