Class Location
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Location extends DomainResource implements 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
Fields Modifier and Type Field Description protected Addressaddressprotected Stringdescriptionprotected java.util.List<Identifier>identifierprotected ReferencemanagingOrganizationprotected LocationModemodeprotected Stringnameprotected ReferencepartOfprotected CodeableConceptphysicalTypeprotected LocationPositionpositionprotected LocationStatusstatusprotected java.util.List<ContactPoint>telecomprotected CodeableConcepttypeFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description Location() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)AddressgetAddress()Gets the value of the address property.StringgetDescription()Gets the value of the description property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.ReferencegetManagingOrganization()Gets the value of the managingOrganization property.LocationModegetMode()Gets the value of the mode property.StringgetName()Gets the value of the name property.ReferencegetPartOf()Gets the value of the partOf property.CodeableConceptgetPhysicalType()Gets the value of the physicalType property.LocationPositiongetPosition()Gets the value of the position property.LocationStatusgetStatus()Gets the value of the status property.java.util.List<ContactPoint>getTelecom()Gets the value of the telecom property.CodeableConceptgetType()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.voidsetManagingOrganization(Reference value)Sets the value of the managingOrganization property.voidsetMode(LocationMode value)Sets the value of the mode property.voidsetName(String value)Sets the value of the name property.voidsetPartOf(Reference value)Sets 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.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()LocationwithAddress(Address value)LocationwithContained(java.util.Collection<ResourceContainer> values)LocationwithContained(ResourceContainer... values)LocationwithDescription(String value)LocationwithExtension(java.util.Collection<Extension> values)LocationwithExtension(Extension... values)LocationwithId(Id value)LocationwithIdentifier(java.util.Collection<Identifier> values)LocationwithIdentifier(Identifier... values)LocationwithImplicitRules(Uri value)LocationwithLanguage(Code value)LocationwithManagingOrganization(Reference value)LocationwithMeta(Meta value)LocationwithMode(LocationMode value)LocationwithModifierExtension(java.util.Collection<Extension> values)LocationwithModifierExtension(Extension... values)LocationwithName(String value)LocationwithPartOf(Reference value)LocationwithPhysicalType(CodeableConcept value)LocationwithPosition(LocationPosition value)LocationwithStatus(LocationStatus value)LocationwithTelecom(java.util.Collection<ContactPoint> values)LocationwithTelecom(ContactPoint... values)LocationwithText(Narrative value)LocationwithType(CodeableConcept value)Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
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 JAXB 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 JAXB 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, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)- 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
public java.lang.String toString()- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-