public class AddressWrapper extends BaseModelWrapper<Address> implements Address, ModelWrapper<Address>
This class is a wrapper for Address.
Address,
Serialized FormmodelADDRESS_ID_ACCESSOR| Constructor and Description |
|---|
AddressWrapper(Address 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.
|
Country |
getCountry() |
long |
getCountryId()
Returns the country ID of this address.
|
Date |
getCreateDate()
Returns the create date 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.
|
double |
getLongitude()
Returns the longitude of this address.
|
boolean |
getMailing()
Returns the mailing of this address.
|
Map<String,Object> |
getModelAttributes() |
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.
|
String |
getPhoneNumber() |
boolean |
getPrimary()
Returns the primary of this address.
|
long |
getPrimaryKey()
Returns the primary key of this address.
|
Region |
getRegion() |
long |
getRegionId()
Returns the region ID of this address.
|
StagedModelType |
getStagedModelType() |
String |
getStreet1()
Returns the street1 of this address.
|
String |
getStreet2()
Returns the street2 of this address.
|
String |
getStreet3()
Returns the street3 of this address.
|
ListType |
getType() |
long |
getTypeId()
Returns the type ID 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 |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
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 |
setLongitude(double longitude)
Sets the longitude of this address.
|
void |
setMailing(boolean mailing)
Sets whether this address is mailing.
|
void |
setModelAttributes(Map<String,Object> attributes) |
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 |
setTypeId(long typeId)
Sets the type ID 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.
|
protected AddressWrapper |
wrap(Address address) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamegetWrappedModelpublic AddressWrapper(Address address)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Address>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Address>public Address cloneWithOriginalValues()
cloneWithOriginalValues in interface AddressModelcloneWithOriginalValues in interface BaseModel<Address>public long getAddressId()
getAddressId in interface AddressModelpublic String getCity()
getCity in interface AddressModelpublic String getClassName()
getClassName in interface AddressModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface AddressModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AddressModelgetClassPK in interface AttachedModelpublic long getCompanyId()
getCompanyId in interface AddressModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic Country getCountry()
getCountry in interface Addresspublic long getCountryId()
getCountryId in interface AddressModelpublic Date getCreateDate()
getCreateDate in interface AddressModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic String getDescription()
getDescription in interface AddressModelpublic String getExternalReferenceCode()
getExternalReferenceCode in interface AddressModelpublic double getLatitude()
getLatitude in interface AddressModelpublic double getLongitude()
getLongitude in interface AddressModelpublic boolean getMailing()
getMailing in interface AddressModelpublic Date getModifiedDate()
getModifiedDate in interface AddressModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface AddressModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface AddressModelpublic String getPhoneNumber()
getPhoneNumber in interface Addresspublic boolean getPrimary()
getPrimary in interface AddressModelpublic long getPrimaryKey()
getPrimaryKey in interface AddressModelpublic long getRegionId()
getRegionId in interface AddressModelpublic String getStreet1()
getStreet1 in interface AddressModelpublic String getStreet2()
getStreet2 in interface AddressModelpublic String getStreet3()
getStreet3 in interface AddressModelpublic long getTypeId()
getTypeId in interface AddressModelpublic long getUserId()
getUserId in interface AddressModelgetUserId in interface AuditedModelpublic String getUserName()
getUserName in interface AddressModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface AddressModelgetUserUuid in interface AuditedModelpublic String getUuid()
getUuid in interface AddressModelgetUuid in interface StagedModelpublic Date getValidationDate()
getValidationDate in interface AddressModelpublic int getValidationStatus()
getValidationStatus in interface AddressModelpublic String getZip()
getZip in interface AddressModelpublic boolean isMailing()
true if this address is mailing.isMailing in interface AddressModeltrue if this address is mailing; false otherwisepublic boolean isPrimary()
true if this address is primary.isPrimary in interface AddressModeltrue if this address is primary; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setAddressId(long addressId)
setAddressId in interface AddressModeladdressId - the address ID of this addresspublic void setCity(String city)
setCity in interface AddressModelcity - the city of this addresspublic void setClassName(String className)
setClassName in interface AddressModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AddressModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this addresspublic void setClassPK(long classPK)
setClassPK in interface AddressModelsetClassPK in interface AttachedModelclassPK - the class pk of this addresspublic void setCompanyId(long companyId)
setCompanyId in interface AddressModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this addresspublic void setCountryId(long countryId)
setCountryId in interface AddressModelcountryId - the country ID of this addresspublic void setCreateDate(Date createDate)
setCreateDate in interface AddressModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this addresspublic void setDescription(String description)
setDescription in interface AddressModeldescription - the description of this addresspublic void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode in interface AddressModelexternalReferenceCode - the external reference code of this addresspublic void setLatitude(double latitude)
setLatitude in interface AddressModellatitude - the latitude of this addresspublic void setLongitude(double longitude)
setLongitude in interface AddressModellongitude - the longitude of this addresspublic void setMailing(boolean mailing)
setMailing in interface AddressModelmailing - the mailing of this addresspublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AddressModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this addresspublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface AddressModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this addresspublic void setName(String name)
setName in interface AddressModelname - the name of this addresspublic void setPrimary(boolean primary)
setPrimary in interface AddressModelprimary - the primary of this addresspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AddressModelprimaryKey - the primary key of this addresspublic void setRegionId(long regionId)
setRegionId in interface AddressModelregionId - the region ID of this addresspublic void setStreet1(String street1)
setStreet1 in interface AddressModelstreet1 - the street1 of this addresspublic void setStreet2(String street2)
setStreet2 in interface AddressModelstreet2 - the street2 of this addresspublic void setStreet3(String street3)
setStreet3 in interface AddressModelstreet3 - the street3 of this addresspublic void setTypeId(long typeId)
setTypeId in interface AddressModeltypeId - the type ID of this addresspublic void setUserId(long userId)
setUserId in interface AddressModelsetUserId in interface AuditedModeluserId - the user ID of this addresspublic void setUserName(String userName)
setUserName in interface AddressModelsetUserName in interface AuditedModeluserName - the user name of this addresspublic void setUserUuid(String userUuid)
setUserUuid in interface AddressModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this addresspublic void setUuid(String uuid)
setUuid in interface AddressModelsetUuid in interface StagedModeluuid - the uuid of this addresspublic void setValidationDate(Date validationDate)
setValidationDate in interface AddressModelvalidationDate - the validation date of this addresspublic void setValidationStatus(int validationStatus)
setValidationStatus in interface AddressModelvalidationStatus - the validation status of this addresspublic void setZip(String zip)
setZip in interface AddressModelzip - the zip of this addresspublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected AddressWrapper wrap(Address address)
wrap in class BaseModelWrapper<Address>