public class CommerceAddressWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddress> implements CommerceAddress, com.liferay.portal.kernel.model.ModelWrapper<CommerceAddress>
This class is a wrapper for CommerceAddress.
CommerceAddress,
Serialized FormCOMMERCE_ADDRESS_ID_ACCESSOR| Constructor and Description |
|---|
CommerceAddressWrapper(CommerceAddress commerceAddress) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAddress |
cloneWithOriginalValues() |
com.liferay.portal.kernel.model.Country |
fetchCountry() |
java.lang.String |
getCity()
Returns the city of this commerce address.
|
java.lang.String |
getClassName()
Returns the fully qualified class name of this commerce address.
|
long |
getClassNameId()
Returns the class name ID of this commerce address.
|
long |
getClassPK()
Returns the class pk of this commerce address.
|
long |
getCommerceAddressId()
Returns the commerce address ID of this commerce address.
|
long |
getCompanyId()
Returns the company ID of this commerce address.
|
com.liferay.portal.kernel.model.Country |
getCountry() |
long |
getCountryId()
Returns the country ID of this commerce address.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce address.
|
boolean |
getDefaultBilling()
Returns the default billing of this commerce address.
|
boolean |
getDefaultShipping()
Returns the default shipping of this commerce address.
|
java.lang.String |
getDescription()
Returns the description of this commerce address.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce address.
|
long |
getGroupId()
Returns the group ID of this commerce address.
|
double |
getLatitude()
Returns the latitude of this commerce address.
|
double |
getLongitude()
Returns the longitude of this commerce address.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce address.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce address.
|
java.lang.String |
getName()
Returns the name of this commerce address.
|
java.lang.String |
getPhoneNumber()
Returns the phone number of this commerce address.
|
long |
getPrimaryKey()
Returns the primary key of this commerce address.
|
com.liferay.portal.kernel.model.Region |
getRegion() |
long |
getRegionId()
Returns the region ID of this commerce address.
|
java.lang.String |
getStreet1()
Returns the street1 of this commerce address.
|
java.lang.String |
getStreet2()
Returns the street2 of this commerce address.
|
java.lang.String |
getStreet3()
Returns the street3 of this commerce address.
|
int |
getType()
Returns the type of this commerce address.
|
long |
getUserId()
Returns the user ID of this commerce address.
|
java.lang.String |
getUserName()
Returns the user name of this commerce address.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce address.
|
java.lang.String |
getZip()
Returns the zip of this commerce address.
|
boolean |
isDefaultBilling()
Returns
true if this commerce address is default billing. |
boolean |
isDefaultShipping()
Returns
true if this commerce address is default shipping. |
boolean |
isGeolocated() |
boolean |
isSameAddress(CommerceAddress commerceAddress) |
void |
setCity(java.lang.String city)
Sets the city of this commerce address.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this commerce address.
|
void |
setClassPK(long classPK)
Sets the class pk of this commerce address.
|
void |
setCommerceAddressId(long commerceAddressId)
Sets the commerce address ID of this commerce address.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce address.
|
void |
setCountryId(long countryId)
Sets the country ID of this commerce address.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce address.
|
void |
setDefaultBilling(boolean defaultBilling)
Sets whether this commerce address is default billing.
|
void |
setDefaultShipping(boolean defaultShipping)
Sets whether this commerce address is default shipping.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce address.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce address.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce address.
|
void |
setLatitude(double latitude)
Sets the latitude of this commerce address.
|
void |
setLongitude(double longitude)
Sets the longitude of this commerce address.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce address.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce address.
|
void |
setName(java.lang.String name)
Sets the name of this commerce address.
|
void |
setPhoneNumber(java.lang.String phoneNumber)
Sets the phone number of this commerce address.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce address.
|
void |
setRegionId(long regionId)
Sets the region ID of this commerce address.
|
void |
setStreet1(java.lang.String street1)
Sets the street1 of this commerce address.
|
void |
setStreet2(java.lang.String street2)
Sets the street2 of this commerce address.
|
void |
setStreet3(java.lang.String street3)
Sets the street3 of this commerce address.
|
void |
setType(int type)
Sets the type of this commerce address.
|
void |
setUserId(long userId)
Sets the user ID of this commerce address.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce address.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce address.
|
void |
setZip(java.lang.String zip)
Sets the zip of this commerce address.
|
java.lang.String |
toXmlString() |
protected CommerceAddressWrapper |
wrap(CommerceAddress commerceAddress) |
clone, compareTo, equals, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CommerceAddressWrapper(CommerceAddress commerceAddress)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>public CommerceAddress cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceAddressModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>public com.liferay.portal.kernel.model.Country fetchCountry()
fetchCountry in interface CommerceAddresspublic java.lang.String getCity()
getCity in interface CommerceAddressModelpublic java.lang.String getClassName()
getClassName in interface CommerceAddressModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface CommerceAddressModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface CommerceAddressModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic long getCommerceAddressId()
getCommerceAddressId in interface CommerceAddressModelpublic long getCompanyId()
getCompanyId in interface CommerceAddressModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic com.liferay.portal.kernel.model.Country getCountry()
throws com.liferay.portal.kernel.exception.PortalException
getCountry in interface CommerceAddresscom.liferay.portal.kernel.exception.PortalExceptionpublic long getCountryId()
getCountryId in interface CommerceAddressModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceAddressModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean getDefaultBilling()
getDefaultBilling in interface CommerceAddressModelpublic boolean getDefaultShipping()
getDefaultShipping in interface CommerceAddressModelpublic java.lang.String getDescription()
getDescription in interface CommerceAddressModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceAddressgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddress>public java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommerceAddressModelpublic long getGroupId()
getGroupId in interface CommerceAddressModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic double getLatitude()
getLatitude in interface CommerceAddressModelpublic double getLongitude()
getLongitude in interface CommerceAddressModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceAddressModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceAddressModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommerceAddressModelpublic java.lang.String getPhoneNumber()
getPhoneNumber in interface CommerceAddressModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceAddressModelpublic com.liferay.portal.kernel.model.Region getRegion()
throws com.liferay.portal.kernel.exception.PortalException
getRegion in interface CommerceAddresscom.liferay.portal.kernel.exception.PortalExceptionpublic long getRegionId()
getRegionId in interface CommerceAddressModelpublic java.lang.String getStreet1()
getStreet1 in interface CommerceAddressModelpublic java.lang.String getStreet2()
getStreet2 in interface CommerceAddressModelpublic java.lang.String getStreet3()
getStreet3 in interface CommerceAddressModelpublic int getType()
getType in interface CommerceAddressModelpublic long getUserId()
getUserId in interface CommerceAddressModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceAddressModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceAddressModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getZip()
getZip in interface CommerceAddressModelpublic boolean isDefaultBilling()
true if this commerce address is default billing.isDefaultBilling in interface CommerceAddressModeltrue if this commerce address is default billing; false otherwisepublic boolean isDefaultShipping()
true if this commerce address is default shipping.isDefaultShipping in interface CommerceAddressModeltrue if this commerce address is default shipping; false otherwisepublic boolean isGeolocated()
isGeolocated in interface CommerceAddresspublic boolean isSameAddress(CommerceAddress commerceAddress)
isSameAddress in interface CommerceAddresspublic void setCity(java.lang.String city)
setCity in interface CommerceAddressModelcity - the city of this commerce addresspublic void setClassName(java.lang.String className)
setClassName in interface CommerceAddressModelpublic void setClassNameId(long classNameId)
setClassNameId in interface CommerceAddressModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this commerce addresspublic void setClassPK(long classPK)
setClassPK in interface CommerceAddressModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this commerce addresspublic void setCommerceAddressId(long commerceAddressId)
setCommerceAddressId in interface CommerceAddressModelcommerceAddressId - the commerce address ID of this commerce addresspublic void setCompanyId(long companyId)
setCompanyId in interface CommerceAddressModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce addresspublic void setCountryId(long countryId)
setCountryId in interface CommerceAddressModelcountryId - the country ID of this commerce addresspublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceAddressModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce addresspublic void setDefaultBilling(boolean defaultBilling)
setDefaultBilling in interface CommerceAddressModeldefaultBilling - the default billing of this commerce addresspublic void setDefaultShipping(boolean defaultShipping)
setDefaultShipping in interface CommerceAddressModeldefaultShipping - the default shipping of this commerce addresspublic void setDescription(java.lang.String description)
setDescription in interface CommerceAddressModeldescription - the description of this commerce addresspublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceAddressModelexternalReferenceCode - the external reference code of this commerce addresspublic void setGroupId(long groupId)
setGroupId in interface CommerceAddressModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce addresspublic void setLatitude(double latitude)
setLatitude in interface CommerceAddressModellatitude - the latitude of this commerce addresspublic void setLongitude(double longitude)
setLongitude in interface CommerceAddressModellongitude - the longitude of this commerce addresspublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceAddressModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce addresspublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceAddressModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce addresspublic void setName(java.lang.String name)
setName in interface CommerceAddressModelname - the name of this commerce addresspublic void setPhoneNumber(java.lang.String phoneNumber)
setPhoneNumber in interface CommerceAddressModelphoneNumber - the phone number of this commerce addresspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceAddressModelprimaryKey - the primary key of this commerce addresspublic void setRegionId(long regionId)
setRegionId in interface CommerceAddressModelregionId - the region ID of this commerce addresspublic void setStreet1(java.lang.String street1)
setStreet1 in interface CommerceAddressModelstreet1 - the street1 of this commerce addresspublic void setStreet2(java.lang.String street2)
setStreet2 in interface CommerceAddressModelstreet2 - the street2 of this commerce addresspublic void setStreet3(java.lang.String street3)
setStreet3 in interface CommerceAddressModelstreet3 - the street3 of this commerce addresspublic void setType(int type)
setType in interface CommerceAddressModeltype - the type of this commerce addresspublic void setUserId(long userId)
setUserId in interface CommerceAddressModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce addresspublic void setUserName(java.lang.String userName)
setUserName in interface CommerceAddressModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce addresspublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceAddressModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce addresspublic void setZip(java.lang.String zip)
setZip in interface CommerceAddressModelzip - the zip of this commerce addresspublic java.lang.String toXmlString()
toXmlString in interface CommerceAddressModelprotected CommerceAddressWrapper wrap(CommerceAddress commerceAddress)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddress>