public class CompartmentDefinition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for CompartmentDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompartmentDefinition">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="url" type="{http://hl7.org/fhir}uri"/>
<element name="name" type="{http://hl7.org/fhir}string"/>
<element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus" minOccurs="0"/>
<element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}CompartmentDefinition.Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CompartmentType"/>
<element name="search" type="{http://hl7.org/fhir}boolean"/>
<element name="resource" type="{http://hl7.org/fhir}CompartmentDefinition.Resource" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CompartmentType |
code |
protected java.util.List<CompartmentDefinitionContact> |
contact |
protected DateTime |
date |
protected String |
description |
protected Boolean |
experimental |
protected String |
name |
protected String |
publisher |
protected String |
requirements |
protected java.util.List<CompartmentDefinitionResource> |
resource |
protected Boolean |
search |
protected ConformanceResourceStatus |
status |
protected Uri |
url |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
CompartmentDefinition() |
| 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) |
CompartmentType |
getCode()
Gets the value of the code property.
|
java.util.List<CompartmentDefinitionContact> |
getContact()
Gets the value of the contact property.
|
DateTime |
getDate()
Gets the value of the date property.
|
String |
getDescription()
Gets the value of the description property.
|
Boolean |
getExperimental()
Gets the value of the experimental property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPublisher()
Gets the value of the publisher property.
|
String |
getRequirements()
Gets the value of the requirements property.
|
java.util.List<CompartmentDefinitionResource> |
getResource()
Gets the value of the resource property.
|
Boolean |
getSearch()
Gets the value of the search property.
|
ConformanceResourceStatus |
getStatus()
Gets the value of the status property.
|
Uri |
getUrl()
Gets the value of the url property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CompartmentType value)
Sets the value of the code property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setExperimental(Boolean value)
Sets the value of the experimental property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPublisher(String value)
Sets the value of the publisher property.
|
void |
setRequirements(String value)
Sets the value of the requirements property.
|
void |
setSearch(Boolean value)
Sets the value of the search property.
|
void |
setStatus(ConformanceResourceStatus value)
Sets the value of the status property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
java.lang.String |
toString() |
CompartmentDefinition |
withCode(CompartmentType value) |
CompartmentDefinition |
withContact(java.util.Collection<CompartmentDefinitionContact> values) |
CompartmentDefinition |
withContact(CompartmentDefinitionContact... values) |
CompartmentDefinition |
withContained(java.util.Collection<ResourceContainer> values) |
CompartmentDefinition |
withContained(ResourceContainer... values) |
CompartmentDefinition |
withDate(DateTime value) |
CompartmentDefinition |
withDescription(String value) |
CompartmentDefinition |
withExperimental(Boolean value) |
CompartmentDefinition |
withExtension(java.util.Collection<Extension> values) |
CompartmentDefinition |
withExtension(Extension... values) |
CompartmentDefinition |
withId(Id value) |
CompartmentDefinition |
withImplicitRules(Uri value) |
CompartmentDefinition |
withLanguage(Code value) |
CompartmentDefinition |
withMeta(Meta value) |
CompartmentDefinition |
withModifierExtension(java.util.Collection<Extension> values) |
CompartmentDefinition |
withModifierExtension(Extension... values) |
CompartmentDefinition |
withName(String value) |
CompartmentDefinition |
withPublisher(String value) |
CompartmentDefinition |
withRequirements(String value) |
CompartmentDefinition |
withResource(java.util.Collection<CompartmentDefinitionResource> values) |
CompartmentDefinition |
withResource(CompartmentDefinitionResource... values) |
CompartmentDefinition |
withSearch(Boolean value) |
CompartmentDefinition |
withStatus(ConformanceResourceStatus value) |
CompartmentDefinition |
withText(Narrative value) |
CompartmentDefinition |
withUrl(Uri value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Uri url
protected String name
protected ConformanceResourceStatus status
protected Boolean experimental
protected String publisher
protected java.util.List<CompartmentDefinitionContact> contact
protected DateTime date
protected String description
protected String requirements
protected CompartmentType code
protected Boolean search
protected java.util.List<CompartmentDefinitionResource> resource
public void setUrl(Uri value)
value - allowed object is
Uripublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ConformanceResourceStatus getStatus()
ConformanceResourceStatuspublic void setStatus(ConformanceResourceStatus value)
value - allowed object is
ConformanceResourceStatuspublic Boolean getExperimental()
Booleanpublic void setExperimental(Boolean value)
value - allowed object is
Booleanpublic String getPublisher()
Stringpublic void setPublisher(String value)
value - allowed object is
Stringpublic java.util.List<CompartmentDefinitionContact> 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
CompartmentDefinitionContact
public DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getRequirements()
Stringpublic void setRequirements(String value)
value - allowed object is
Stringpublic CompartmentType getCode()
CompartmentTypepublic void setCode(CompartmentType value)
value - allowed object is
CompartmentTypepublic Boolean getSearch()
Booleanpublic void setSearch(Boolean value)
value - allowed object is
Booleanpublic java.util.List<CompartmentDefinitionResource> getResource()
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 resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
CompartmentDefinitionResource
public CompartmentDefinition withUrl(Uri value)
public CompartmentDefinition withName(String value)
public CompartmentDefinition withStatus(ConformanceResourceStatus value)
public CompartmentDefinition withExperimental(Boolean value)
public CompartmentDefinition withPublisher(String value)
public CompartmentDefinition withContact(CompartmentDefinitionContact... values)
public CompartmentDefinition withContact(java.util.Collection<CompartmentDefinitionContact> values)
public CompartmentDefinition withDate(DateTime value)
public CompartmentDefinition withDescription(String value)
public CompartmentDefinition withRequirements(String value)
public CompartmentDefinition withCode(CompartmentType value)
public CompartmentDefinition withSearch(Boolean value)
public CompartmentDefinition withResource(CompartmentDefinitionResource... values)
public CompartmentDefinition withResource(java.util.Collection<CompartmentDefinitionResource> values)
public CompartmentDefinition withText(Narrative value)
withText in class DomainResourcepublic CompartmentDefinition withContained(ResourceContainer... values)
withContained in class DomainResourcepublic CompartmentDefinition withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic CompartmentDefinition withExtension(Extension... values)
withExtension in class DomainResourcepublic CompartmentDefinition withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic CompartmentDefinition withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic CompartmentDefinition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic CompartmentDefinition withId(Id value)
withId in class DomainResourcepublic CompartmentDefinition withMeta(Meta value)
withMeta in class DomainResourcepublic CompartmentDefinition withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic CompartmentDefinition 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