public class Coding extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Coding complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Coding">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="system" type="{http://hl7.org/fhir}uri" 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="userSelected" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Code |
code |
protected String |
display |
protected Uri |
system |
protected Boolean |
userSelected |
protected String |
version |
| Constructor and Description |
|---|
Coding() |
| 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 |
getDisplay()
Gets the value of the display property.
|
Uri |
getSystem()
Gets the value of the system property.
|
Boolean |
getUserSelected()
Gets the value of the userSelected 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 |
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 |
setUserSelected(Boolean value)
Sets the value of the userSelected property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
Coding |
withCode(Code value) |
Coding |
withDisplay(String value) |
Coding |
withExtension(java.util.Collection<Extension> values) |
Coding |
withExtension(Extension... values) |
Coding |
withId(java.lang.String value) |
Coding |
withSystem(Uri value) |
Coding |
withUserSelected(Boolean value) |
Coding |
withVersion(String value) |
getExtension, getId, setIdprotected Uri system
protected String version
protected Code code
protected String display
protected Boolean userSelected
public Uri getSystem()
Uripublic void setSystem(Uri value)
value - allowed object is
Uripublic 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 Boolean getUserSelected()
Booleanpublic void setUserSelected(Boolean value)
value - allowed object is
Booleanpublic Coding withExtension(Extension... values)
withExtension in class Elementpublic Coding withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic 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)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public 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 Element