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 ()
|
AddressDt |
addLine(String theString)
Adds a new value for line ()
|
AddressDt |
addLine(StringDt theValue)
Adds a given new value for line ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCity()
Gets the value(s) for city ().
|
StringDt |
getCityElement()
Gets the value(s) for city ().
|
String |
getCountry()
Gets the value(s) for country ().
|
StringDt |
getCountryElement()
Gets the value(s) for country ().
|
String |
getDistrict()
Gets the value(s) for district ().
|
StringDt |
getDistrictElement()
Gets the value(s) for district ().
|
List<StringDt> |
getLine()
Gets the value(s) for line ().
|
StringDt |
getLineFirstRep()
Gets the first repetition for line (),
creating it if it does not already exist.
|
PeriodDt |
getPeriod()
Gets the value(s) for period ().
|
String |
getPostalCode()
Gets the value(s) for postalCode ().
|
StringDt |
getPostalCodeElement()
Gets the value(s) for postalCode ().
|
String |
getState()
Gets the value(s) for state ().
|
StringDt |
getStateElement()
Gets the value(s) for state ().
|
String |
getText()
Gets the value(s) for text ().
|
StringDt |
getTextElement()
Gets the value(s) for text ().
|
String |
getType()
Gets the value(s) for type ().
|
BoundCodeDt<AddressTypeEnum> |
getTypeElement()
Gets the value(s) for type ().
|
String |
getUse()
Gets the value(s) for use ().
|
BoundCodeDt<AddressUseEnum> |
getUseElement()
Gets the value(s) for use ().
|
boolean |
isEmpty() |
AddressDt |
setCity(String theString)
Sets the value for city ()
|
AddressDt |
setCity(StringDt theValue)
Sets the value(s) for city ()
|
AddressDt |
setCountry(String theString)
Sets the value for country ()
|
AddressDt |
setCountry(StringDt theValue)
Sets the value(s) for country ()
|
AddressDt |
setDistrict(String theString)
Sets the value for district ()
|
AddressDt |
setDistrict(StringDt theValue)
Sets the value(s) for district ()
|
AddressDt |
setLine(List<StringDt> theValue)
Sets the value(s) for line ()
|
AddressDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period ()
|
AddressDt |
setPostalCode(String theString)
Sets the value for postalCode ()
|
AddressDt |
setPostalCode(StringDt theValue)
Sets the value(s) for postalCode ()
|
AddressDt |
setState(String theString)
Sets the value for state ()
|
AddressDt |
setState(StringDt theValue)
Sets the value(s) for state ()
|
AddressDt |
setText(String theString)
Sets the value for text ()
|
AddressDt |
setText(StringDt theValue)
Sets the value(s) for text ()
|
AddressDt |
setType(AddressTypeEnum theValue)
Sets the value(s) for type ()
|
AddressDt |
setType(BoundCodeDt<AddressTypeEnum> theValue)
Sets the value(s) for type ()
|
AddressDt |
setUse(AddressUseEnum theValue)
Sets the value(s) for use ()
|
AddressDt |
setUse(BoundCodeDt<AddressUseEnum> theValue)
Sets the value(s) for use ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic AddressDt()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeDt<AddressUseEnum> getUseElement()
null.
Definition: The purpose of this address
public String 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 BoundCodeDt<AddressTypeEnum> getTypeElement()
null.
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public String getType()
null.
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public AddressDt setType(BoundCodeDt<AddressTypeEnum> theValue)
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public AddressDt setType(AddressTypeEnum theValue)
Definition: Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both
public StringDt getTextElement()
null.
Definition: A full text representation of the address
public String 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 AddressDt addLine(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
theValue - The line to add (must not be null)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 getCityElement()
null.
Definition: The name of the city, town, village or other community or delivery center
public String 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 getDistrictElement()
null.
Definition: The name of the administrative area (county)
public String getDistrict()
null.
Definition: The name of the administrative area (county)
public AddressDt setDistrict(StringDt theValue)
Definition: The name of the administrative area (county)
public AddressDt setDistrict(String theString)
Definition: The name of the administrative area (county)
public StringDt getStateElement()
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 String 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 getPostalCodeElement()
null.
Definition: A postal code designating a region defined by the postal service
public String getPostalCode()
null.
Definition: A postal code designating a region defined by the postal service
public AddressDt setPostalCode(StringDt theValue)
Definition: A postal code designating a region defined by the postal service
public AddressDt setPostalCode(String theString)
Definition: A postal code designating a region defined by the postal service
public StringDt getCountryElement()
null.
Definition: Country - a nation as commonly understood or generally accepted
public String 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–2016 University Health Network. All rights reserved.