public class Address extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
Address.AddressType |
static class |
Address.AddressTypeEnumFactory |
static class |
Address.AddressUse |
static class |
Address.AddressUseEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
city
The name of the city, town, village or other community or delivery center.
|
protected StringType |
country
Country - a nation as commonly understood or generally accepted.
|
protected StringType |
district
The name of the administrative area (county).
|
protected List<StringType> |
line
This component contains the house number, apartment number, street name, street direction, P.O.
|
protected Period |
period
Time period when address was/is in use.
|
protected StringType |
postalCode
A postal code designating a region defined by the postal service.
|
protected StringType |
state
Sub-unit of a country with limited sovereignty in a federally organized country.
|
protected StringType |
text
A full text representation of the address.
|
protected Enumeration<Address.AddressType> |
type
Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g.
|
protected Enumeration<Address.AddressUse> |
use
The purpose of this address.
|
| Constructor and Description |
|---|
Address()
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Address.AddressUse> use
protected Enumeration<Address.AddressType> type
protected StringType text
protected List<StringType> line
protected StringType city
protected StringType district
protected StringType state
protected StringType postalCode
protected StringType country
public Address()
public Enumeration<Address.AddressUse> getUseElement()
use (The purpose of this address.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic boolean hasUseElement()
public boolean hasUse()
public Address setUseElement(Enumeration<Address.AddressUse> value)
value - use (The purpose of this address.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic Address.AddressUse getUse()
public Address setUse(Address.AddressUse value)
value - The purpose of this address.public Enumeration<Address.AddressType> getTypeElement()
type (Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Address setTypeElement(Enumeration<Address.AddressType> value)
value - type (Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Address.AddressType getType()
public Address setType(Address.AddressType value)
value - Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.public StringType getTextElement()
text (A full text representation of the address.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public Address setTextElement(StringType value)
value - text (A full text representation of the address.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic Address setText(String value)
value - A full text representation of the address.public List<StringType> getLine()
line (This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.)public Address setLine(List<StringType> theLine)
this for easy method chainingpublic boolean hasLine()
public StringType addLineElement()
line (This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.)public Address addLine(String value)
value - line (This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.)public boolean hasLine(String value)
value - line (This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.)public StringType getCityElement()
city (The name of the city, town, village or other community or delivery center.). This is the underlying object with id, value and extensions. The accessor "getCity" gives direct access to the valuepublic boolean hasCityElement()
public boolean hasCity()
public Address setCityElement(StringType value)
value - city (The name of the city, town, village or other community or delivery center.). This is the underlying object with id, value and extensions. The accessor "getCity" gives direct access to the valuepublic String getCity()
public Address setCity(String value)
value - The name of the city, town, village or other community or delivery center.public StringType getDistrictElement()
district (The name of the administrative area (county).). This is the underlying object with id, value and extensions. The accessor "getDistrict" gives direct access to the valuepublic boolean hasDistrictElement()
public boolean hasDistrict()
public Address setDistrictElement(StringType value)
value - district (The name of the administrative area (county).). This is the underlying object with id, value and extensions. The accessor "getDistrict" gives direct access to the valuepublic String getDistrict()
public Address setDistrict(String value)
value - The name of the administrative area (county).public StringType getStateElement()
state (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).). This is the underlying object with id, value and extensions. The accessor "getState" gives direct access to the valuepublic boolean hasStateElement()
public boolean hasState()
public Address setStateElement(StringType value)
value - state (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).). This is the underlying object with id, value and extensions. The accessor "getState" gives direct access to the valuepublic String getState()
public Address setState(String value)
value - 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 StringType getPostalCodeElement()
postalCode (A postal code designating a region defined by the postal service.). This is the underlying object with id, value and extensions. The accessor "getPostalCode" gives direct access to the valuepublic boolean hasPostalCodeElement()
public boolean hasPostalCode()
public Address setPostalCodeElement(StringType value)
value - postalCode (A postal code designating a region defined by the postal service.). This is the underlying object with id, value and extensions. The accessor "getPostalCode" gives direct access to the valuepublic String getPostalCode()
public Address setPostalCode(String value)
value - A postal code designating a region defined by the postal service.public StringType getCountryElement()
country (Country - a nation as commonly understood or generally accepted.). This is the underlying object with id, value and extensions. The accessor "getCountry" gives direct access to the valuepublic boolean hasCountryElement()
public boolean hasCountry()
public Address setCountryElement(StringType value)
value - country (Country - a nation as commonly understood or generally accepted.). This is the underlying object with id, value and extensions. The accessor "getCountry" gives direct access to the valuepublic String getCountry()
public Address setCountry(String value)
value - Country - a nation as commonly understood or generally accepted.public boolean hasPeriod()
public Address setPeriod(Period value)
value - period (Time period when address was/is in use.)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.