public class ValueSetConcept 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.Concept complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueSet.Concept">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="code" type="{http://hl7.org/fhir}code"/>
<element name="display" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="designation" type="{http://hl7.org/fhir}ValueSet.Designation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Code |
code |
protected java.util.List<ValueSetDesignation> |
designation |
protected String |
display |
modifierExtension| Constructor and Description |
|---|
ValueSetConcept() |
| 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.
|
java.util.List<ValueSetDesignation> |
getDesignation()
Gets the value of the designation property.
|
String |
getDisplay()
Gets the value of the display 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 |
setDisplay(String value)
Sets the value of the display property.
|
java.lang.String |
toString() |
ValueSetConcept |
withCode(Code value) |
ValueSetConcept |
withDesignation(java.util.Collection<ValueSetDesignation> values) |
ValueSetConcept |
withDesignation(ValueSetDesignation... values) |
ValueSetConcept |
withDisplay(String value) |
ValueSetConcept |
withExtension(java.util.Collection<Extension> values) |
ValueSetConcept |
withExtension(Extension... values) |
ValueSetConcept |
withId(java.lang.String value) |
ValueSetConcept |
withModifierExtension(java.util.Collection<Extension> values) |
ValueSetConcept |
withModifierExtension(Extension... values) |
getModifierExtensiongetExtension, getId, setIdprotected Code code
protected String display
protected java.util.List<ValueSetDesignation> designation
public void setCode(Code value)
value - allowed object is
Codepublic String getDisplay()
Stringpublic void setDisplay(String value)
value - allowed object is
Stringpublic java.util.List<ValueSetDesignation> getDesignation()
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 designation property.
For example, to add a new item, do as follows:
getDesignation().add(newItem);
Objects of the following type(s) are allowed in the list
ValueSetDesignation
public ValueSetConcept withCode(Code value)
public ValueSetConcept withDisplay(String value)
public ValueSetConcept withDesignation(ValueSetDesignation... values)
public ValueSetConcept withDesignation(java.util.Collection<ValueSetDesignation> values)
public ValueSetConcept withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ValueSetConcept withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ValueSetConcept withExtension(Extension... values)
withExtension in class BackboneElementpublic ValueSetConcept withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ValueSetConcept 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