public class Address extends Object implements Serializable
| Constructor and Description |
|---|
Address() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCity()
Gets the city.
|
String |
getCountry()
Gets the country.
|
String |
getPostalCode()
Gets the postal code.
|
String |
getState()
Gets the state.
|
String |
getStreet1()
Gets the street 1.
|
String |
getStreet2()
Gets the street 2.
|
int |
hashCode() |
void |
setCity(String city)
Sets the city.
|
void |
setCountry(String country)
Sets the country.
|
void |
setPostalCode(String postalCode)
Sets the postal code.
|
void |
setState(String state)
Sets the state.
|
void |
setStreet1(String street1)
Sets the street 1.
|
void |
setStreet2(String street2)
Sets the street 2.
|
String |
toString() |
public String getStreet1()
public void setStreet1(String street1)
street1 - the new street 1public String getStreet2()
public void setStreet2(String street2)
street2 - the new street 2public String getCity()
public void setCity(String city)
city - the new citypublic String getPostalCode()
public void setPostalCode(String postalCode)
postalCode - the new postal codepublic String getState()
public void setState(String state)
state - the new statepublic String getCountry()
public void setCountry(String country)
country - the new countryCopyright © 2017 BotMill. All rights reserved.