Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
String |
getCity()
Returns the value of city.
|
String |
getCountry()
Returns the value of country.
|
String |
getState()
Returns the value of state.
|
String |
getStreet()
Returns the value of street.
|
String |
getType()
Returns the value of type.
|
String |
getZip()
Returns the value of zip.
|
void |
print(PrintStream out,
int indentAmount) |
void |
setCity(String city)
Sets the value of city.
|
void |
setCountry(String country)
Sets the value of country.
|
void |
setState(String state)
Sets the value of state.
|
void |
setStreet(String street)
Sets the value of street.
|
void |
setType(String type)
Sets the value of type.
|
void |
setZip(String zip)
Sets the value of zip.
|
String |
toString() |
public Address()
public void print(PrintStream out, int indentAmount)
public void setStreet(String street)
street
- The value to assign to street.public void setCity(String city)
city
- The value to assign to city.public void setState(String state)
state
- The value to assign to state.public void setZip(String zip)
zip
- The value to assign to zip.public String getCountry()
public void setCountry(String country)
country
- The value to assign to country.Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.