public class AddressDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world
Requirements: Need to be able to record postal addresses, along with notes about their use
| Constructor and Description |
|---|
AddressDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringDt |
addLine()
Adds and returns a new value for line (Street name, number, direction & P.O.
|
AddressDt |
addLine(String theString)
Adds a new value for line (Street name, number, direction & P.O.
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
StringDt |
getCity()
Gets the value(s) for city (Name of city, town etc.).
|
StringDt |
getCountry()
Gets the value(s) for country (Country (can be ISO 3166 3 letter code)).
|
List<StringDt> |
getLine()
Gets the value(s) for line (Street name, number, direction & P.O.
|
StringDt |
getLineFirstRep()
Gets the first repetition for line (Street name, number, direction & P.O.
|
PeriodDt |
getPeriod()
Gets the value(s) for period (Time period when address was/is in use).
|
StringDt |
getState()
Gets the value(s) for state (Sub-unit of country (abreviations ok)).
|
StringDt |
getText()
Gets the value(s) for text (Text representation of the address).
|
BoundCodeDt<AddressUseEnum> |
getUse()
Gets the value(s) for use (home | work | temp | old - purpose of this address).
|
StringDt |
getZip()
Gets the value(s) for zip (Postal code for area).
|
boolean |
isEmpty() |
AddressDt |
setCity(String theString)
Sets the value for city (Name of city, town etc.)
|
AddressDt |
setCity(StringDt theValue)
Sets the value(s) for city (Name of city, town etc.)
|
AddressDt |
setCountry(String theString)
Sets the value for country (Country (can be ISO 3166 3 letter code))
|
AddressDt |
setCountry(StringDt theValue)
Sets the value(s) for country (Country (can be ISO 3166 3 letter code))
|
AddressDt |
setLine(List<StringDt> theValue)
Sets the value(s) for line (Street name, number, direction & P.O.
|
AddressDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (Time period when address was/is in use)
|
AddressDt |
setState(String theString)
Sets the value for state (Sub-unit of country (abreviations ok))
|
AddressDt |
setState(StringDt theValue)
Sets the value(s) for state (Sub-unit of country (abreviations ok))
|
AddressDt |
setText(String theString)
Sets the value for text (Text representation of the address)
|
AddressDt |
setText(StringDt theValue)
Sets the value(s) for text (Text representation of the address)
|
AddressDt |
setUse(AddressUseEnum theValue)
Sets the value(s) for use (home | work | temp | old - purpose of this address)
|
AddressDt |
setUse(BoundCodeDt<AddressUseEnum> theValue)
Sets the value(s) for use (home | work | temp | old - purpose of this address)
|
AddressDt |
setZip(String theString)
Sets the value for zip (Postal code for area)
|
AddressDt |
setZip(StringDt theValue)
Sets the value(s) for zip (Postal code for area)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<AddressUseEnum> getUse()
null.
Definition: The purpose of this address
public AddressDt setUse(BoundCodeDt<AddressUseEnum> theValue)
Definition: The purpose of this address
public AddressDt setUse(AddressUseEnum theValue)
Definition: The purpose of this address
public StringDt getText()
null.
Definition: A full text representation of the address
public AddressDt setText(StringDt theValue)
Definition: A full text representation of the address
public AddressDt setText(String theString)
Definition: A full text representation of the address
public List<StringDt> getLine()
null.
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public AddressDt setLine(List<StringDt> theValue)
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public StringDt addLine()
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public StringDt getLineFirstRep()
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public AddressDt addLine(String theString)
Definition: This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information
public StringDt getCity()
null.
Definition: The name of the city, town, village or other community or delivery center.
public AddressDt setCity(StringDt theValue)
Definition: The name of the city, town, village or other community or delivery center.
public AddressDt setCity(String theString)
Definition: The name of the city, town, village or other community or delivery center.
public StringDt getState()
null.
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
public AddressDt setState(StringDt theValue)
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
public AddressDt setState(String theString)
Definition: Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
public StringDt getZip()
null.
Definition: A postal code designating a region defined by the postal service.
public AddressDt setZip(StringDt theValue)
Definition: A postal code designating a region defined by the postal service.
public AddressDt setZip(String theString)
Definition: A postal code designating a region defined by the postal service.
public StringDt getCountry()
null.
Definition: Country - a nation as commonly understood or generally accepted
public AddressDt setCountry(StringDt theValue)
Definition: Country - a nation as commonly understood or generally accepted
public AddressDt setCountry(String theString)
Definition: Country - a nation as commonly understood or generally accepted
public PeriodDt getPeriod()
null.
Definition: Time period when address was/is in use
Copyright © 2014 University Health Network. All rights reserved.