public class Organization extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Organization complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Organization">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="active" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="address" type="{http://hl7.org/fhir}Address" maxOccurs="unbounded" minOccurs="0"/>
<element name="partOf" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}Organization.Contact" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
active |
protected java.util.List<Address> |
address |
protected java.util.List<OrganizationContact> |
contact |
protected java.util.List<Identifier> |
identifier |
protected String |
name |
protected Reference |
partOf |
protected java.util.List<ContactPoint> |
telecom |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Organization() |
| 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) |
Boolean |
getActive()
Gets the value of the active property.
|
java.util.List<Address> |
getAddress()
Gets the value of the address property.
|
java.util.List<OrganizationContact> |
getContact()
Gets the value of the contact property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getName()
Gets the value of the name property.
|
Reference |
getPartOf()
Gets the value of the partOf 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 |
setActive(Boolean value)
Sets the value of the active property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPartOf(Reference value)
Sets the value of the partOf property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Organization |
withActive(Boolean value) |
Organization |
withAddress(Address... values) |
Organization |
withAddress(java.util.Collection<Address> values) |
Organization |
withContact(java.util.Collection<OrganizationContact> values) |
Organization |
withContact(OrganizationContact... values) |
Organization |
withContained(java.util.Collection<ResourceContainer> values) |
Organization |
withContained(ResourceContainer... values) |
Organization |
withExtension(java.util.Collection<Extension> values) |
Organization |
withExtension(Extension... values) |
Organization |
withId(Id value) |
Organization |
withIdentifier(java.util.Collection<Identifier> values) |
Organization |
withIdentifier(Identifier... values) |
Organization |
withImplicitRules(Uri value) |
Organization |
withLanguage(Code value) |
Organization |
withMeta(Meta value) |
Organization |
withModifierExtension(java.util.Collection<Extension> values) |
Organization |
withModifierExtension(Extension... values) |
Organization |
withName(String value) |
Organization |
withPartOf(Reference value) |
Organization |
withTelecom(java.util.Collection<ContactPoint> values) |
Organization |
withTelecom(ContactPoint... values) |
Organization |
withText(Narrative value) |
Organization |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Boolean active
protected CodeableConcept type
protected String name
protected java.util.List<ContactPoint> telecom
protected java.util.List<Address> address
protected Reference partOf
protected java.util.List<OrganizationContact> contact
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 Boolean getActive()
Booleanpublic void setActive(Boolean value)
value - allowed object is
Booleanpublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic 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 java.util.List<Address> getAddress()
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 address property.
For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
Address
public Reference getPartOf()
Referencepublic void setPartOf(Reference value)
value - allowed object is
Referencepublic java.util.List<OrganizationContact> getContact()
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 contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
OrganizationContact
public Organization withIdentifier(Identifier... values)
public Organization withIdentifier(java.util.Collection<Identifier> values)
public Organization withActive(Boolean value)
public Organization withType(CodeableConcept value)
public Organization withName(String value)
public Organization withTelecom(ContactPoint... values)
public Organization withTelecom(java.util.Collection<ContactPoint> values)
public Organization withAddress(Address... values)
public Organization withAddress(java.util.Collection<Address> values)
public Organization withPartOf(Reference value)
public Organization withContact(OrganizationContact... values)
public Organization withContact(java.util.Collection<OrganizationContact> values)
public Organization withText(Narrative value)
withText in class DomainResourcepublic Organization withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Organization withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Organization withExtension(Extension... values)
withExtension in class DomainResourcepublic Organization withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Organization withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Organization withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Organization withId(Id value)
withId in class DomainResourcepublic Organization withMeta(Meta value)
withMeta in class DomainResourcepublic Organization withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Organization 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