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 TypeMethodDescriptionlongReturns the address ID of this address.getCity()Returns the city of this address.Returns the fully qualified class name of this address.longReturns the class name ID of this address.longReturns the class pk of this address.longReturns the company ID of this address.longReturns the country ID of this address.Returns the create date of this address.longReturns the ct collection ID of this address.Returns the description of this address.Returns the external reference code of this address.doubleReturns the latitude of this address.longReturns the list type ID of this address.doubleReturns the longitude of this address.booleanReturns the mailing of this address.Returns the modified date of this address.longReturns the mvcc version of this address.getName()Returns the name of this address.booleanReturns the primary of this address.longReturns the primary key of this address.longReturns the region ID of this address.Returns the street1 of this address.Returns the street2 of this address.Returns the street3 of this address.longReturns 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.intReturns the validation status of this address.getZip()Returns the zip of this address.booleanReturnstrueif this address is mailing.booleanReturnstrueif this address is primary.voidsetAddressId(long addressId) Sets the address ID of this address.voidSets the city of this address.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this address.voidsetClassPK(long classPK) Sets the class pk of this address.voidsetCompanyId(long companyId) Sets the company ID of this address.voidsetCountryId(long countryId) Sets the country ID of this address.voidsetCreateDate(Date createDate) Sets the create date of this address.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this address.voidsetDescription(String description) Sets the description of this address.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this address.voidsetLatitude(double latitude) Sets the latitude of this address.voidsetListTypeId(long listTypeId) Sets the list type ID of this address.voidsetLongitude(double longitude) Sets the longitude of this address.voidsetMailing(boolean mailing) Sets whether this address is mailing.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this address.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this address.voidSets the name of this address.voidsetPrimary(boolean primary) Sets whether this address is primary.voidsetPrimaryKey(long primaryKey) Sets the primary key of this address.voidsetRegionId(long regionId) Sets the region ID of this address.voidsetStreet1(String street1) Sets the street1 of this address.voidsetStreet2(String street2) Sets the street2 of this address.voidsetStreet3(String street3) Sets the street3 of this address.voidsetUserId(long userId) Sets the user ID of this address.voidsetUserName(String userName) Sets the user name of this address.voidsetUserUuid(String userUuid) Sets the user uuid of this address.voidSets the uuid of this address.voidsetValidationDate(Date validationDate) Sets the validation date of this address.voidsetValidationStatus(int validationStatus) Sets the validation status of this address.voidSets the zip of this address.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getPrimaryKeyin interfaceCTModel<Address>- Returns:
- the primary key of this address
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this address.- Specified by:
setPrimaryKeyin interfaceCTModel<Address>- Parameters:
primaryKey- the primary key of this address
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this address.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this address
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this address.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this address
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this address.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin interfaceCTModel<Address>- Parameters:
ctCollectionId- the ct collection ID of this address
-
getUuid
Returns the uuid of this address.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this address
-
setUuid
Sets the uuid of this address.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this address
-
getExternalReferenceCode
Returns the external reference code of this address.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this address
-
setExternalReferenceCode
Sets the external reference code of this address.- Specified by:
setExternalReferenceCodein 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this address
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this address.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this address
-
getUserId
long getUserId()Returns the user ID of this address.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this address
-
setUserId
void setUserId(long userId) Sets the user ID of this address.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this address
-
getUserUuid
String getUserUuid()Returns the user uuid of this address.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this address
-
setUserUuid
Sets the user uuid of this address.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this address
-
getUserName
Returns the user name of this address.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this address
-
setUserName
Sets the user name of this address.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this address
-
getCreateDate
Date getCreateDate()Returns the create date of this address.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this address
-
setCreateDate
Sets the create date of this address.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this address
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this address.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this address
-
setModifiedDate
Sets the modified date of this address.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this address
-
getClassName
String getClassName()Returns the fully qualified class name of this address.- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this address
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this address.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this address
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this address.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this address
-
getClassPK
long getClassPK()Returns the class pk of this address.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this address
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this address.- Specified by:
setClassPKin 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()Returnstrueif this address is mailing.- Returns:
trueif this address is mailing;falseotherwise
-
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()Returnstrueif this address is primary.- Returns:
trueif this address is primary;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<Address>
-
toXmlString
-