public class Location extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address |
protected String |
description |
protected java.util.List<Identifier> |
identifier |
protected Reference |
managingOrganization |
protected LocationMode |
mode |
protected String |
name |
protected Reference |
partOf |
protected CodeableConcept |
physicalType |
protected LocationPosition |
position |
protected LocationStatus |
status |
protected java.util.List<ContactPoint> |
telecom |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Address |
getAddress()
Gets the value of the address property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getManagingOrganization()
Gets the value of the managingOrganization property.
|
LocationMode |
getMode()
Gets the value of the mode property.
|
String |
getName()
Gets the value of the name property.
|
Reference |
getPartOf()
Gets the value of the partOf property.
|
CodeableConcept |
getPhysicalType()
Gets the value of the physicalType property.
|
LocationPosition |
getPosition()
Gets the value of the position property.
|
LocationStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<ContactPoint> |
getTelecom()
Gets the value of the telecom property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAddress(Address value)
Sets the value of the address property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setManagingOrganization(Reference value)
Sets the value of the managingOrganization property.
|
void |
setMode(LocationMode value)
Sets the value of the mode property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPartOf(Reference value)
Sets the value of the partOf property.
|
void |
setPhysicalType(CodeableConcept value)
Sets the value of the physicalType property.
|
void |
setPosition(LocationPosition value)
Sets the value of the position property.
|
void |
setStatus(LocationStatus value)
Sets the value of the status property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Location |
withAddress(Address value) |
Location |
withContained(java.util.Collection<ResourceContainer> values) |
Location |
withContained(ResourceContainer... values) |
Location |
withDescription(String value) |
Location |
withExtension(java.util.Collection<Extension> values) |
Location |
withExtension(Extension... values) |
Location |
withId(Id value) |
Location |
withIdentifier(java.util.Collection<Identifier> values) |
Location |
withIdentifier(Identifier... values) |
Location |
withImplicitRules(Uri value) |
Location |
withLanguage(Code value) |
Location |
withManagingOrganization(Reference value) |
Location |
withMeta(Meta value) |
Location |
withMode(LocationMode value) |
Location |
withModifierExtension(java.util.Collection<Extension> values) |
Location |
withModifierExtension(Extension... values) |
Location |
withName(String value) |
Location |
withPartOf(Reference value) |
Location |
withPhysicalType(CodeableConcept value) |
Location |
withPosition(LocationPosition value) |
Location |
withStatus(LocationStatus value) |
Location |
withTelecom(java.util.Collection<ContactPoint> values) |
Location |
withTelecom(ContactPoint... values) |
Location |
withText(Narrative value) |
Location |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected LocationStatus status
protected String name
protected String description
protected LocationMode mode
protected CodeableConcept type
protected java.util.List<ContactPoint> telecom
protected Address address
protected CodeableConcept physicalType
protected LocationPosition position
protected Reference managingOrganization
protected Reference partOf
public java.util.List<Identifier> getIdentifier()
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 JAXB object.
This is why there is not a set method 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
public LocationStatus getStatus()
LocationStatuspublic void setStatus(LocationStatus value)
value - allowed object is
LocationStatuspublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic LocationMode getMode()
LocationModepublic void setMode(LocationMode value)
value - allowed object is
LocationModepublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<ContactPoint> getTelecom()
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 JAXB object.
This is why there is not a set method 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
public Address getAddress()
Addresspublic void setAddress(Address value)
value - allowed object is
Addresspublic CodeableConcept getPhysicalType()
CodeableConceptpublic void setPhysicalType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic LocationPosition getPosition()
LocationPositionpublic void setPosition(LocationPosition value)
value - allowed object is
LocationPositionpublic Reference getManagingOrganization()
Referencepublic void setManagingOrganization(Reference value)
value - allowed object is
Referencepublic Reference getPartOf()
Referencepublic void setPartOf(Reference value)
value - allowed object is
Referencepublic Location withIdentifier(Identifier... values)
public Location withIdentifier(java.util.Collection<Identifier> values)
public Location withStatus(LocationStatus value)
public Location withMode(LocationMode value)
public Location withType(CodeableConcept value)
public Location withTelecom(ContactPoint... values)
public Location withTelecom(java.util.Collection<ContactPoint> values)
public Location withPhysicalType(CodeableConcept value)
public Location withPosition(LocationPosition value)
public Location withText(Narrative value)
withText in class DomainResourcepublic Location withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Location withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Location withExtension(Extension... values)
withExtension in class DomainResourcepublic Location withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Location withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Location withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Location withId(Id value)
withId in class DomainResourcepublic Location withMeta(Meta value)
withMeta in class DomainResourcepublic Location withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Location withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource