|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.impl.AbstractEntityImpl com.elasticpath.domain.customer.impl.AbstractAddressImpl
public class AbstractAddressImpl
Implementation of a street address.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
AbstractAddressImpl()
|
Method Summary | |
---|---|
java.lang.String |
getCity()
Gets the city of this Address . |
java.lang.String |
getCountry()
Gets the country of this Address . |
java.lang.String |
getFaxNumber()
Gets the fax number associated with this Address . |
java.lang.String |
getFirstName()
Gets the first name associated with this Address . |
java.lang.String |
getLastName()
Gets the last name associated with this Address . |
java.lang.String |
getPhoneNumber()
Gets the phone number associated with this Address . |
java.lang.String |
getRegionPathStr()
Return the string reprents the address's region path info, in the format of "[zip/postal code] [city] [subcountry] [country]". |
java.lang.String |
getStreet1()
Gets the streetname of this Address . |
java.lang.String |
getStreet2()
Gets the streetname of this Address . |
java.lang.String |
getSubCountry()
Gets the state or province of this Address . |
java.lang.String |
getZipOrPostalCode()
Gets the zip/postal code of this Address . |
boolean |
isCommercialAddress()
True if this Address is a commercial address. |
void |
setCity(java.lang.String city)
Sets the city of this Address . |
void |
setCommercialAddress(boolean commercialAddress)
Sets whether this Address is a commercial address. |
void |
setCountry(java.lang.String country)
Sets the country of this Address . |
void |
setFaxNumber(java.lang.String faxNumber)
Sets the fax number associated with this Address . |
void |
setFirstName(java.lang.String firstName)
Sets the first name associated with this Address . |
void |
setLastName(java.lang.String lastName)
Sets the last name associated with this Address . |
void |
setPhoneNumber(java.lang.String phoneNumber)
Sets the phone number associated with this Address . |
void |
setStreet1(java.lang.String street)
Sets the streetname of this Address . |
void |
setStreet2(java.lang.String street)
Sets the streetname of this Address . |
void |
setSubCountry(java.lang.String subCountry)
Sets the state or province of this Address . |
void |
setZipOrPostalCode(java.lang.String zipOrPostalCode)
Sets the zip/postal code of this Address . |
Methods inherited from class com.elasticpath.domain.impl.AbstractEntityImpl |
---|
convertAttributeGroupAttributes, getGuid, setDefaultValues, setGuid |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.customer.Address |
---|
getGuid, setGuid |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public AbstractAddressImpl()
Method Detail |
---|
public java.lang.String getCity()
Address
.
getCity
in interface Address
public java.lang.String getCountry()
Address
.
getCountry
in interface Address
public java.lang.String getFaxNumber()
Address
.
getFaxNumber
in interface Address
public java.lang.String getFirstName()
Address
.
getFirstName
in interface Address
public java.lang.String getLastName()
Address
.
getLastName
in interface Address
public java.lang.String getPhoneNumber()
Address
.
getPhoneNumber
in interface Address
public java.lang.String getRegionPathStr()
getRegionPathStr
in interface Address
public java.lang.String getStreet1()
Address
.
getStreet1
in interface Address
public java.lang.String getStreet2()
Address
.
getStreet2
in interface Address
public java.lang.String getSubCountry()
Address
.
getSubCountry
in interface Address
public java.lang.String getZipOrPostalCode()
Address
.
getZipOrPostalCode
in interface Address
public boolean isCommercialAddress()
Address
is a commercial address.
isCommercialAddress
in interface Address
public void setCity(java.lang.String city)
Address
.
setCity
in interface Address
city
- the new city.public void setCommercialAddress(boolean commercialAddress)
Address
is a commercial address.
setCommercialAddress
in interface Address
commercialAddress
- Set to true for commercial addresses.public void setCountry(java.lang.String country)
Address
.
setCountry
in interface Address
country
- the new country.public void setFaxNumber(java.lang.String faxNumber)
Address
.
setFaxNumber
in interface Address
faxNumber
- the new fax number.public void setFirstName(java.lang.String firstName)
Address
.
setFirstName
in interface Address
firstName
- the new phone number.public void setLastName(java.lang.String lastName)
Address
.
setLastName
in interface Address
lastName
- the new phone number.public void setPhoneNumber(java.lang.String phoneNumber)
Address
.
setPhoneNumber
in interface Address
phoneNumber
- the new phone number.public void setStreet1(java.lang.String street)
Address
.
setStreet1
in interface Address
street
- the new streetname.public void setStreet2(java.lang.String street)
Address
.
setStreet2
in interface Address
street
- the new streetname.public void setSubCountry(java.lang.String subCountry)
Address
.
setSubCountry
in interface Address
subCountry
- the new state or province.public void setZipOrPostalCode(java.lang.String zipOrPostalCode)
Address
.
setZipOrPostalCode
in interface Address
zipOrPostalCode
- the new zip/postal code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |