public class ValueSetContains extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ValueSet.Contains complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueSet.Contains">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="system" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="abstract" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="display" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="contains" type="{http://hl7.org/fhir}ValueSet.Contains" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
_abstract |
protected Code |
code |
protected java.util.List<ValueSetContains> |
contains |
protected String |
display |
protected Uri |
system |
protected String |
version |
modifierExtension| Constructor and Description |
|---|
ValueSetContains() |
| 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 |
getAbstract()
Gets the value of the abstract property.
|
Code |
getCode()
Gets the value of the code property.
|
java.util.List<ValueSetContains> |
getContains()
Gets the value of the contains property.
|
String |
getDisplay()
Gets the value of the display property.
|
Uri |
getSystem()
Gets the value of the system property.
|
String |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAbstract(Boolean value)
Sets the value of the abstract property.
|
void |
setCode(Code value)
Sets the value of the code property.
|
void |
setDisplay(String value)
Sets the value of the display property.
|
void |
setSystem(Uri value)
Sets the value of the system property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
ValueSetContains |
withAbstract(Boolean value) |
ValueSetContains |
withCode(Code value) |
ValueSetContains |
withContains(java.util.Collection<ValueSetContains> values) |
ValueSetContains |
withContains(ValueSetContains... values) |
ValueSetContains |
withDisplay(String value) |
ValueSetContains |
withExtension(java.util.Collection<Extension> values) |
ValueSetContains |
withExtension(Extension... values) |
ValueSetContains |
withId(java.lang.String value) |
ValueSetContains |
withModifierExtension(java.util.Collection<Extension> values) |
ValueSetContains |
withModifierExtension(Extension... values) |
ValueSetContains |
withSystem(Uri value) |
ValueSetContains |
withVersion(String value) |
getModifierExtensiongetExtension, getId, setIdprotected Uri system
protected Boolean _abstract
protected String version
protected Code code
protected String display
protected java.util.List<ValueSetContains> contains
public Uri getSystem()
Uripublic void setSystem(Uri value)
value - allowed object is
Uripublic Boolean getAbstract()
Booleanpublic void setAbstract(Boolean value)
value - allowed object is
Booleanpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic void setCode(Code value)
value - allowed object is
Codepublic String getDisplay()
Stringpublic void setDisplay(String value)
value - allowed object is
Stringpublic java.util.List<ValueSetContains> getContains()
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 contains property.
For example, to add a new item, do as follows:
getContains().add(newItem);
Objects of the following type(s) are allowed in the list
ValueSetContains
public ValueSetContains withSystem(Uri value)
public ValueSetContains withAbstract(Boolean value)
public ValueSetContains withVersion(String value)
public ValueSetContains withCode(Code value)
public ValueSetContains withDisplay(String value)
public ValueSetContains withContains(ValueSetContains... values)
public ValueSetContains withContains(java.util.Collection<ValueSetContains> values)
public ValueSetContains withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ValueSetContains withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ValueSetContains withExtension(Extension... values)
withExtension in class BackboneElementpublic ValueSetContains withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ValueSetContains 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