public class Address extends Type implements org.hl7.fhir.instance.model.api.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, suburb, 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
Specifies the entire address as it should be displayed e.g.
|
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, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected 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 (Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.). 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 (Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic String getText()
public Address setText(String value)
value - Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.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, suburb, 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, suburb, 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, suburb, 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 (e.g. 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 (e.g. 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 (e.g. 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> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void copyValues(Address dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2021 Health Level 7. All rights reserved.