Package com.damnhandy.uri.template
Class Address
- java.lang.Object
-
- com.damnhandy.uri.template.Address
-
- Direct Known Subclasses:
ExtendedAddress
,ExtendedAddressWithNestedLists
public class Address extends Object
A Address POJO.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCity()
Get the city.String
getCountry()
Get the country.String
getIgnored()
Get the ignored.String
getPostalCode()
Get the postalCode.String
getState()
String
getStreet()
Get the street.boolean
isActive()
Returns true if the address is activevoid
setActive(boolean active)
Sets the active statusvoid
setCity(String city)
Set the city.void
setCountry(String country)
Set the country.void
setIgnored(String ignored)
Set the ignored.void
setPostalCode(String postalCode)
Set the postalCode.void
setState(String state)
void
setStreet(String street)
Set the street.
-
-
-
Method Detail
-
getStreet
public String getStreet()
Get the street.- Returns:
- the street.
-
setStreet
public void setStreet(String street)
Set the street.- Parameters:
street
- The street to set.
-
getCity
public String getCity()
Get the city.- Returns:
- the city.
-
setCity
public void setCity(String city)
Set the city.- Parameters:
city
- The city to set.
-
getState
public String getState()
-
setState
public void setState(String state)
-
getPostalCode
public String getPostalCode()
Get the postalCode.- Returns:
- the postalCode.
-
setPostalCode
public void setPostalCode(String postalCode)
Set the postalCode.- Parameters:
postalCode
- The postalCode to set.
-
getCountry
public String getCountry()
Get the country.- Returns:
- the country.
-
setCountry
public void setCountry(String country)
Set the country.- Parameters:
country
- The country to set.
-
getIgnored
public String getIgnored()
Get the ignored.- Returns:
- the ignored.
-
setIgnored
public void setIgnored(String ignored)
Set the ignored.- Parameters:
ignored
- The ignored to set.
-
isActive
public boolean isActive()
Returns true if the address is active- Returns:
-
setActive
public void setActive(boolean active)
Sets the active status- Parameters:
active
-
-
-