Package org.gedcomx.agent
Class Address
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.agent.Address
- All Implemented Interfaces:
HasTransientProperties,SupportsExtensionElements
An address.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild up this address with a city.Build up this address with a country.extensionElement(Object element) getCity()The city.The country.The postal code.The state or province.The street.Additional street information.Additional street information.Additional street information.Additional street information.Additional street information.getValue()The value of the property, if it can be expressed as a string.Build up this object with an id.postalCode(String postalCode) Build up this address with a postalcode.voidThe city.voidsetCountry(String country) The country.voidsetPostalCode(String postalCode) The postal code.voidsetStateOrProvince(String stateOrProvince) The state or province.voidThe street.voidsetStreet2(String street2) Additional street information.voidsetStreet3(String street3) Additional street information.voidsetStreet4(String street4) Additional street information.voidsetStreet5(String street5) Additional street information.voidsetStreet6(String street6) Additional street information.voidThe value of the property, if it can be expressed as a string.stateOrProvince(String stateOrProvince) Build up this address with a state or province.Build up this address with a street.Build up this address with a street2.Build up this address with a street3.Build up this address with a street4.Build up this address with a street5.Build up this address with a street6.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
-
Constructor Details
-
Address
public Address() -
Address
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classExtensibleData- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classExtensibleData
-
getCity
The city.- Returns:
- The city.
-
setCity
The city.- Parameters:
city- The city.
-
city
Build up this address with a city.- Parameters:
city- The city.- Returns:
- this.
-
getCountry
The country.- Returns:
- The country.
-
country
Build up this address with a country.- Parameters:
country- The country.- Returns:
- this.
-
setCountry
The country.- Parameters:
country- The country.
-
getPostalCode
The postal code.- Returns:
- The postal code.
-
setPostalCode
The postal code.- Parameters:
postalCode- The postal code.
-
postalCode
Build up this address with a postalcode.- Parameters:
postalCode- The postalcode.- Returns:
- this.
-
getStateOrProvince
The state or province.- Returns:
- The state or province.
-
setStateOrProvince
The state or province.- Parameters:
stateOrProvince- The state or province.
-
stateOrProvince
Build up this address with a state or province.- Parameters:
stateOrProvince- The state or province.- Returns:
- this.
-
getStreet
The street.- Returns:
- The street.
-
setStreet
The street.- Parameters:
street- The street.
-
street
Build up this address with a street.- Parameters:
street- The street.- Returns:
- this.
-
getStreet2
Additional street information.- Returns:
- Additional street information.
-
setStreet2
Additional street information.- Parameters:
street2- Additional street information.
-
street2
Build up this address with a street2.- Parameters:
street2- The street2.- Returns:
- this.
-
getStreet3
Additional street information.- Returns:
- Additional street information.
-
setStreet3
Additional street information.- Parameters:
street3- Additional street information.
-
street3
Build up this address with a street3.- Parameters:
street3- The street3.- Returns:
- this.
-
getStreet4
Additional street information.- Returns:
- Additional street information.
-
setStreet4
Additional street information.- Parameters:
street4- Additional street information.
-
street4
Build up this address with a street4.- Parameters:
street4- The street4.- Returns:
- this.
-
getStreet5
Additional street information.- Returns:
- Additional street information.
-
setStreet5
Additional street information.- Parameters:
street5- Additional street information.
-
street5
Build up this address with a street5.- Parameters:
street5- The street5.- Returns:
- this.
-
getStreet6
Additional street information.- Returns:
- Additional street information.
-
setStreet6
Additional street information.- Parameters:
street6- Additional street information.
-
street6
Build up this address with a street6.- Parameters:
street6- The street6.- Returns:
- this.
-
getValue
The value of the property, if it can be expressed as a string.- Returns:
- The value of the property.
-
setValue
The value of the property, if it can be expressed as a string.- Parameters:
value- The value of the property.
-
value
Build up this address with a value.- Parameters:
value- The value.- Returns:
- this.
-