org.gedcomx.agent
Class Address

java.lang.Object
  extended by org.gedcomx.common.ExtensibleData
      extended by org.gedcomx.agent.Address
All Implemented Interfaces:
HasTransientProperties, SupportsExtensionElements

public class Address
extends ExtensibleData

An address.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties
 
Constructor Summary
Address()
           
 
Method Summary
 Address city(String city)
          Build up this address with a city.
 Address country(String country)
          Build up this address with a country.
 String getCity()
          The city.
 String getCountry()
          The country.
 String getPostalCode()
          The postal code.
 String getStateOrProvince()
          The state or province.
 String getStreet()
          The street.
 String getStreet2()
          Additional street information.
 String getStreet3()
          Additional street information.
 String getStreet4()
          Additional street information.
 String getStreet5()
          Additional street information.
 String getStreet6()
          Additional street information.
 String getValue()
          The value of the property, if it can be expressed as a string.
 Address id(String id)
          Build up this object with an id.
 Address postalCode(String postalCode)
          Build up this address with a postalcode.
 void setCity(String city)
          The city.
 void setCountry(String country)
          The country.
 void setPostalCode(String postalCode)
          The postal code.
 void setStateOrProvince(String stateOrProvince)
          The state or province.
 void setStreet(String street)
          The street.
 void setStreet2(String street2)
          Additional street information.
 void setStreet3(String street3)
          Additional street information.
 void setStreet4(String street4)
          Additional street information.
 void setStreet5(String street5)
          Additional street information.
 void setStreet6(String street6)
          Additional street information.
 void setValue(String value)
          The value of the property, if it can be expressed as a string.
 Address stateOrProvince(String stateOrProvince)
          Build up this address with a state or province.
 Address street(String street)
          Build up this address with a street.
 Address street2(String street2)
          Build up this address with a street2.
 Address street3(String street3)
          Build up this address with a street3.
 Address street4(String street4)
          Build up this address with a street4.
 Address street5(String street5)
          Build up this address with a street5.
 Address street6(String street6)
          Build up this address with a street6.
 Address value(String value)
          Build up this address with a value.
 
Methods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

id

public Address id(String id)
Description copied from class: ExtensibleData
Build up this object with an id.

Overrides:
id in class ExtensibleData
Parameters:
id - The id.

getCity

public String getCity()
The city.

Returns:
The city.

setCity

public void setCity(String city)
The city.

Parameters:
city - The city.

city

public Address city(String city)
Build up this address with a city.

Parameters:
city - The city.
Returns:
this.

getCountry

public String getCountry()
The country.

Returns:
The country.

country

public Address country(String country)
Build up this address with a country.

Parameters:
country - The country.
Returns:
this.

setCountry

public void setCountry(String country)
The country.

Parameters:
country - The country.

getPostalCode

public String getPostalCode()
The postal code.

Returns:
The postal code.

setPostalCode

public void setPostalCode(String postalCode)
The postal code.

Parameters:
postalCode - The postal code.

postalCode

public Address postalCode(String postalCode)
Build up this address with a postalcode.

Parameters:
postalCode - The postalcode.
Returns:
this.

getStateOrProvince

public String getStateOrProvince()
The state or province.

Returns:
The state or province.

setStateOrProvince

public void setStateOrProvince(String stateOrProvince)
The state or province.

Parameters:
stateOrProvince - The state or province.

stateOrProvince

public Address stateOrProvince(String stateOrProvince)
Build up this address with a state or province.

Parameters:
stateOrProvince - The state or province.
Returns:
this.

getStreet

public String getStreet()
The street.

Returns:
The street.

setStreet

public void setStreet(String street)
The street.

Parameters:
street - The street.

street

public Address street(String street)
Build up this address with a street.

Parameters:
street - The street.
Returns:
this.

getStreet2

public String getStreet2()
Additional street information.

Returns:
Additional street information.

setStreet2

public void setStreet2(String street2)
Additional street information.

Parameters:
street2 - Additional street information.

street2

public Address street2(String street2)
Build up this address with a street2.

Parameters:
street2 - The street2.
Returns:
this.

getStreet3

public String getStreet3()
Additional street information.

Returns:
Additional street information.

setStreet3

public void setStreet3(String street3)
Additional street information.

Parameters:
street3 - Additional street information.

street3

public Address street3(String street3)
Build up this address with a street3.

Parameters:
street3 - The street3.
Returns:
this.

getStreet4

public String getStreet4()
Additional street information.

Returns:
Additional street information.

setStreet4

public void setStreet4(String street4)
Additional street information.

Parameters:
street4 - Additional street information.

street4

public Address street4(String street4)
Build up this address with a street4.

Parameters:
street4 - The street4.
Returns:
this.

getStreet5

public String getStreet5()
Additional street information.

Returns:
Additional street information.

setStreet5

public void setStreet5(String street5)
Additional street information.

Parameters:
street5 - Additional street information.

street5

public Address street5(String street5)
Build up this address with a street5.

Parameters:
street5 - The street5.
Returns:
this.

getStreet6

public String getStreet6()
Additional street information.

Returns:
Additional street information.

setStreet6

public void setStreet6(String street6)
Additional street information.

Parameters:
street6 - Additional street information.

street6

public Address street6(String street6)
Build up this address with a street6.

Parameters:
street6 - The street6.
Returns:
this.

getValue

public String getValue()
The value of the property, if it can be expressed as a string.

Returns:
The value of the property.

setValue

public void setValue(String value)
The value of the property, if it can be expressed as a string.

Parameters:
value - The value of the property.

value

public Address value(String value)
Build up this address with a value.

Parameters:
value - The value.
Returns:
this.


Copyright © 2015. All rights reserved.