Package com.liferay.portal.kernel.model
Class AddressWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Address>
com.liferay.portal.kernel.model.AddressWrapper
- All Implemented Interfaces:
Address,AddressModel,AttachedModel,AuditedModel,BaseModel<Address>,CTModel<Address>,ClassedModel,ExternalReferenceCodeModel,ModelWrapper<Address>,MVCCModel,PersistedModel,ShardedModel,StagedAuditedModel,StagedModel,TypedModel,Serializable,Cloneable,Comparable<Address>
public class AddressWrapper
extends BaseModelWrapper<Address>
implements Address, ModelWrapper<Address>
This class is a wrapper for Address.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Address
ADDRESS_ID_ACCESSOR -
Constructor Summary
Constructors -
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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected AddressWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
AddressWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Address>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Address>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAddressModel- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Address>
-
getAddressId
public long getAddressId()Returns the address ID of this address.- Specified by:
getAddressIdin interfaceAddressModel- Returns:
- the address ID of this address
-
getCity
Returns the city of this address.- Specified by:
getCityin interfaceAddressModel- Returns:
- the city of this address
-
getClassName
Returns the fully qualified class name of this address.- Specified by:
getClassNamein interfaceAddressModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this address
-
getClassNameId
public long getClassNameId()Returns the class name ID of this address.- Specified by:
getClassNameIdin interfaceAddressModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this address
-
getClassPK
public long getClassPK()Returns the class pk of this address.- Specified by:
getClassPKin interfaceAddressModel- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this address
-
getCompanyId
public long getCompanyId()Returns the company ID of this address.- Specified by:
getCompanyIdin interfaceAddressModel- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this address
-
getCountry
- Specified by:
getCountryin interfaceAddress
-
getCountryId
public long getCountryId()Returns the country ID of this address.- Specified by:
getCountryIdin interfaceAddressModel- Returns:
- the country ID of this address
-
getCreateDate
Returns the create date of this address.- Specified by:
getCreateDatein interfaceAddressModel- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this address
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this address.- Specified by:
getCtCollectionIdin interfaceAddressModel- Specified by:
getCtCollectionIdin interfaceCTModel<Address>- Returns:
- the ct collection ID of this address
-
getDescription
Returns the description of this address.- Specified by:
getDescriptionin interfaceAddressModel- Returns:
- the description of this address
-
getExternalReferenceCode
Returns the external reference code of this address.- Specified by:
getExternalReferenceCodein interfaceAddressModel- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this address
-
getLatitude
public double getLatitude()Returns the latitude of this address.- Specified by:
getLatitudein interfaceAddressModel- Returns:
- the latitude of this address
-
getListType
- Specified by:
getListTypein interfaceAddress
-
getListTypeId
public long getListTypeId()Returns the list type ID of this address.- Specified by:
getListTypeIdin interfaceAddressModel- Returns:
- the list type ID of this address
-
getLongitude
public double getLongitude()Returns the longitude of this address.- Specified by:
getLongitudein interfaceAddressModel- Returns:
- the longitude of this address
-
getMailing
public boolean getMailing()Returns the mailing of this address.- Specified by:
getMailingin interfaceAddressModel- Returns:
- the mailing of this address
-
getModifiedDate
Returns the modified date of this address.- Specified by:
getModifiedDatein interfaceAddressModel- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this address
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this address.- Specified by:
getMvccVersionin interfaceAddressModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this address
-
getName
Returns the name of this address.- Specified by:
getNamein interfaceAddressModel- Returns:
- the name of this address
-
getPhoneNumber
- Specified by:
getPhoneNumberin interfaceAddress
-
getPrimary
public boolean getPrimary()Returns the primary of this address.- Specified by:
getPrimaryin interfaceAddressModel- Returns:
- the primary of this address
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this address.- Specified by:
getPrimaryKeyin interfaceAddressModel- Specified by:
getPrimaryKeyin interfaceCTModel<Address>- Returns:
- the primary key of this address
-
getRegion
-
getRegionId
public long getRegionId()Returns the region ID of this address.- Specified by:
getRegionIdin interfaceAddressModel- Returns:
- the region ID of this address
-
getStreet1
Returns the street1 of this address.- Specified by:
getStreet1in interfaceAddressModel- Returns:
- the street1 of this address
-
getStreet2
Returns the street2 of this address.- Specified by:
getStreet2in interfaceAddressModel- Returns:
- the street2 of this address
-
getStreet3
Returns the street3 of this address.- Specified by:
getStreet3in interfaceAddressModel- Returns:
- the street3 of this address
-
getUserId
public long getUserId()Returns the user ID of this address.- Specified by:
getUserIdin interfaceAddressModel- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this address
-
getUserName
Returns the user name of this address.- Specified by:
getUserNamein interfaceAddressModel- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this address
-
getUserUuid
Returns the user uuid of this address.- Specified by:
getUserUuidin interfaceAddressModel- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this address
-
getUuid
Returns the uuid of this address.- Specified by:
getUuidin interfaceAddressModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this address
-
getValidationDate
Returns the validation date of this address.- Specified by:
getValidationDatein interfaceAddressModel- Returns:
- the validation date of this address
-
getValidationStatus
public int getValidationStatus()Returns the validation status of this address.- Specified by:
getValidationStatusin interfaceAddressModel- Returns:
- the validation status of this address
-
getZip
Returns the zip of this address.- Specified by:
getZipin interfaceAddressModel- Returns:
- the zip of this address
-
isMailing
public boolean isMailing()Returnstrueif this address is mailing.- Specified by:
isMailingin interfaceAddressModel- Returns:
trueif this address is mailing;falseotherwise
-
isPrimary
public boolean isPrimary()Returnstrueif this address is primary.- Specified by:
isPrimaryin interfaceAddressModel- Returns:
trueif this address is primary;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setAddressId
public void setAddressId(long addressId) Sets the address ID of this address.- Specified by:
setAddressIdin interfaceAddressModel- Parameters:
addressId- the address ID of this address
-
setCity
Sets the city of this address.- Specified by:
setCityin interfaceAddressModel- Parameters:
city- the city of this address
-
setClassName
- Specified by:
setClassNamein interfaceAddressModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this address.- Specified by:
setClassNameIdin interfaceAddressModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this address
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this address.- Specified by:
setClassPKin interfaceAddressModel- Specified by:
setClassPKin interfaceAttachedModel- Parameters:
classPK- the class pk of this address
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this address.- Specified by:
setCompanyIdin interfaceAddressModel- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this address
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this address.- Specified by:
setCountryIdin interfaceAddressModel- Parameters:
countryId- the country ID of this address
-
setCreateDate
Sets the create date of this address.- Specified by:
setCreateDatein interfaceAddressModel- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this address
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this address.- Specified by:
setCtCollectionIdin interfaceAddressModel- Specified by:
setCtCollectionIdin interfaceCTModel<Address>- Parameters:
ctCollectionId- the ct collection ID of this address
-
setDescription
Sets the description of this address.- Specified by:
setDescriptionin interfaceAddressModel- Parameters:
description- the description of this address
-
setExternalReferenceCode
Sets the external reference code of this address.- Specified by:
setExternalReferenceCodein interfaceAddressModel- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this address
-
setLatitude
public void setLatitude(double latitude) Sets the latitude of this address.- Specified by:
setLatitudein interfaceAddressModel- Parameters:
latitude- the latitude of this address
-
setListTypeId
public void setListTypeId(long listTypeId) Sets the list type ID of this address.- Specified by:
setListTypeIdin interfaceAddressModel- Parameters:
listTypeId- the list type ID of this address
-
setLongitude
public void setLongitude(double longitude) Sets the longitude of this address.- Specified by:
setLongitudein interfaceAddressModel- Parameters:
longitude- the longitude of this address
-
setMailing
public void setMailing(boolean mailing) Sets whether this address is mailing.- Specified by:
setMailingin interfaceAddressModel- Parameters:
mailing- the mailing of this address
-
setModifiedDate
Sets the modified date of this address.- Specified by:
setModifiedDatein interfaceAddressModel- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this address
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this address.- Specified by:
setMvccVersionin interfaceAddressModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this address
-
setName
Sets the name of this address.- Specified by:
setNamein interfaceAddressModel- Parameters:
name- the name of this address
-
setPrimary
public void setPrimary(boolean primary) Sets whether this address is primary.- Specified by:
setPrimaryin interfaceAddressModel- Parameters:
primary- the primary of this address
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this address.- Specified by:
setPrimaryKeyin interfaceAddressModel- Specified by:
setPrimaryKeyin interfaceCTModel<Address>- Parameters:
primaryKey- the primary key of this address
-
setRegionId
public void setRegionId(long regionId) Sets the region ID of this address.- Specified by:
setRegionIdin interfaceAddressModel- Parameters:
regionId- the region ID of this address
-
setStreet1
Sets the street1 of this address.- Specified by:
setStreet1in interfaceAddressModel- Parameters:
street1- the street1 of this address
-
setStreet2
Sets the street2 of this address.- Specified by:
setStreet2in interfaceAddressModel- Parameters:
street2- the street2 of this address
-
setStreet3
Sets the street3 of this address.- Specified by:
setStreet3in interfaceAddressModel- Parameters:
street3- the street3 of this address
-
setUserId
public void setUserId(long userId) Sets the user ID of this address.- Specified by:
setUserIdin interfaceAddressModel- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this address
-
setUserName
Sets the user name of this address.- Specified by:
setUserNamein interfaceAddressModel- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this address
-
setUserUuid
Sets the user uuid of this address.- Specified by:
setUserUuidin interfaceAddressModel- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this address
-
setUuid
Sets the uuid of this address.- Specified by:
setUuidin interfaceAddressModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this address
-
setValidationDate
Sets the validation date of this address.- Specified by:
setValidationDatein interfaceAddressModel- Parameters:
validationDate- the validation date of this address
-
setValidationStatus
public void setValidationStatus(int validationStatus) Sets the validation status of this address.- Specified by:
setValidationStatusin interfaceAddressModel- Parameters:
validationStatus- the validation status of this address
-
setZip
Sets the zip of this address.- Specified by:
setZipin interfaceAddressModel- Parameters:
zip- the zip of this address
-
toXmlString
- Specified by:
toXmlStringin interfaceAddressModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Address>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Address>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Address>
-