public class CompartmentDefinitionResource extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for CompartmentDefinition.Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CompartmentDefinition.Resource">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="code" type="{http://hl7.org/fhir}code"/>
<element name="param" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="documentation" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Code |
code |
protected String |
documentation |
protected java.util.List<String> |
param |
modifierExtension| Constructor and Description |
|---|
CompartmentDefinitionResource() |
| 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) |
Code |
getCode()
Gets the value of the code property.
|
String |
getDocumentation()
Gets the value of the documentation property.
|
java.util.List<String> |
getParam()
Gets the value of the param property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(Code value)
Sets the value of the code property.
|
void |
setDocumentation(String value)
Sets the value of the documentation property.
|
java.lang.String |
toString() |
CompartmentDefinitionResource |
withCode(Code value) |
CompartmentDefinitionResource |
withDocumentation(String value) |
CompartmentDefinitionResource |
withExtension(java.util.Collection<Extension> values) |
CompartmentDefinitionResource |
withExtension(Extension... values) |
CompartmentDefinitionResource |
withId(java.lang.String value) |
CompartmentDefinitionResource |
withModifierExtension(java.util.Collection<Extension> values) |
CompartmentDefinitionResource |
withModifierExtension(Extension... values) |
CompartmentDefinitionResource |
withParam(java.util.Collection<String> values) |
CompartmentDefinitionResource |
withParam(String... values) |
getModifierExtensiongetExtension, getId, setIdprotected Code code
protected java.util.List<String> param
protected String documentation
public void setCode(Code value)
value - allowed object is
Codepublic java.util.List<String> getParam()
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 param property.
For example, to add a new item, do as follows:
getParam().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getDocumentation()
Stringpublic void setDocumentation(String value)
value - allowed object is
Stringpublic CompartmentDefinitionResource withCode(Code value)
public CompartmentDefinitionResource withParam(String... values)
public CompartmentDefinitionResource withParam(java.util.Collection<String> values)
public CompartmentDefinitionResource withDocumentation(String value)
public CompartmentDefinitionResource withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic CompartmentDefinitionResource withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic CompartmentDefinitionResource withExtension(Extension... values)
withExtension in class BackboneElementpublic CompartmentDefinitionResource withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic CompartmentDefinitionResource withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement