Class CompartmentDefinition
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CompartmentTypeprotected List<CompartmentDefinitionContact> protected DateTimeprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected List<CompartmentDefinitionResource> protected Booleanprotected ConformanceResourceStatusprotected UriFields 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) getCode()Gets the value of the code property.Gets the value of the contact property.getDate()Gets the value of the date property.Gets the value of the description property.Gets the value of the experimental property.getName()Gets the value of the name property.Gets the value of the publisher property.Gets the value of the requirements property.Gets the value of the resource property.Gets the value of the search property.Gets the value of the status property.getUrl()Gets the value of the url property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetCode(CompartmentType value) Sets the value of the code property.voidvoidSets the value of the date property.voidsetDescription(String value) Sets the value of the description property.voidsetExperimental(Boolean value) Sets the value of the experimental property.voidSets the value of the name property.voidsetPublisher(String value) Sets the value of the publisher property.voidsetRequirements(String value) Sets the value of the requirements property.voidvoidSets the value of the search property.voidSets the value of the status property.voidSets the value of the url property.toString()withCode(CompartmentType value) withContact(CompartmentDefinitionContact... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDescription(String value) withExperimental(Boolean value) withExtension(Collection<Extension> values) withExtension(Extension... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPublisher(String value) withRequirements(String value) withResource(CompartmentDefinitionResource... values) withSearch(Boolean 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
-
url
-
name
-
status
-
experimental
-
publisher
-
contact
-
date
-
description
-
requirements
-
code
-
search
-
resource
-
-
Constructor Details
-
CompartmentDefinition
public CompartmentDefinition()
-
-
Method Details
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
Uri
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
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
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
ConformanceResourceStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isConformanceResourceStatus
-
getExperimental
Gets the value of the experimental property.- Returns:
- possible object is
Boolean
-
setExperimental
Sets the value of the experimental property.- Parameters:
value- allowed object isBoolean
-
getPublisher
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
Gets the value of the contact 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 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 -
getDate
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
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
-
getRequirements
Gets the value of the requirements property.- Returns:
- possible object is
String
-
setRequirements
Sets the value of the requirements property.- Parameters:
value- allowed object isString
-
getCode
Gets the value of the code property.- Returns:
- possible object is
CompartmentType
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isCompartmentType
-
getSearch
Gets the value of the search property.- Returns:
- possible object is
Boolean
-
setSearch
Sets the value of the search property.- Parameters:
value- allowed object isBoolean
-
getResource
Gets the value of the resource 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 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 -
withUrl
-
withName
-
withStatus
-
withExperimental
-
withPublisher
-
withContact
-
withContact
-
withDate
-
withDescription
-
withRequirements
-
withCode
-
withSearch
-
withResource
-
withResource
-
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
-
setContact
-
setResource
-