Class Location
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for Location complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Location">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}LocationStatus" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="mode" type="{http://hl7.org/fhir}LocationMode" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="address" type="{http://hl7.org/fhir}Address" minOccurs="0"/>
<element name="physicalType" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="position" type="{http://hl7.org/fhir}Location.Position" minOccurs="0"/>
<element name="managingOrganization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="partOf" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Addressprotected Stringprotected List<Identifier> protected Referenceprotected LocationModeprotected Stringprotected Referenceprotected CodeableConceptprotected LocationPositionprotected LocationStatusprotected List<ContactPoint> protected CodeableConceptFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the address property.Gets the value of the description property.Gets the value of the identifier property.Gets the value of the managingOrganization property.getMode()Gets the value of the mode property.getName()Gets the value of the name property.Gets the value of the partOf property.Gets the value of the physicalType property.Gets the value of the position property.Gets the value of the status property.Gets the value of the telecom property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAddress(Address value) Sets the value of the address property.voidsetDescription(String value) Sets the value of the description property.voidsetIdentifier(List<Identifier> value) voidsetManagingOrganization(Reference value) Sets the value of the managingOrganization property.voidsetMode(LocationMode value) Sets the value of the mode property.voidSets the value of the name property.voidSets the value of the partOf property.voidsetPhysicalType(CodeableConcept value) Sets the value of the physicalType property.voidsetPosition(LocationPosition value) Sets the value of the position property.voidsetStatus(LocationStatus value) Sets the value of the status property.voidsetTelecom(List<ContactPoint> value) voidsetType(CodeableConcept value) Sets the value of the type property.toString()withAddress(Address value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDescription(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withMode(LocationMode value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPartOf(Reference value) withPhysicalType(CodeableConcept value) withPosition(LocationPosition value) withStatus(LocationStatus value) withTelecom(Collection<ContactPoint> values) withTelecom(ContactPoint... values) withType(CodeableConcept value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
name
-
description
-
mode
-
type
-
telecom
-
address
-
physicalType
-
position
-
managingOrganization
-
partOf
-
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier -
getStatus
Gets the value of the status property.- Returns:
- possible object is
LocationStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isLocationStatus
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getMode
Gets the value of the mode property.- Returns:
- possible object is
LocationMode
-
setMode
Sets the value of the mode property.- Parameters:
value- allowed object isLocationMode
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getTelecom
Gets the value of the telecom property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the telecom property.For example, to add a new item, do as follows:
getTelecom().add(newItem);Objects of the following type(s) are allowed in the list
ContactPoint -
getAddress
Gets the value of the address property.- Returns:
- possible object is
Address
-
setAddress
Sets the value of the address property.- Parameters:
value- allowed object isAddress
-
getPhysicalType
Gets the value of the physicalType property.- Returns:
- possible object is
CodeableConcept
-
setPhysicalType
Sets the value of the physicalType property.- Parameters:
value- allowed object isCodeableConcept
-
getPosition
Gets the value of the position property.- Returns:
- possible object is
LocationPosition
-
setPosition
Sets the value of the position property.- Parameters:
value- allowed object isLocationPosition
-
getManagingOrganization
Gets the value of the managingOrganization property.- Returns:
- possible object is
Reference
-
setManagingOrganization
Sets the value of the managingOrganization property.- Parameters:
value- allowed object isReference
-
getPartOf
Gets the value of the partOf property.- Returns:
- possible object is
Reference
-
setPartOf
Sets the value of the partOf property.- Parameters:
value- allowed object isReference
-
withIdentifier
-
withIdentifier
-
withStatus
-
withName
-
withDescription
-
withMode
-
withType
-
withTelecom
-
withTelecom
-
withAddress
-
withPhysicalType
-
withPosition
-
withManagingOrganization
-
withPartOf
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setTelecom
-