public class Annotation extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Annotation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Annotation">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<choice minOccurs="0">
<element name="authorReference" type="{http://hl7.org/fhir}Reference"/>
<element name="authorString" type="{http://hl7.org/fhir}string"/>
</choice>
<element name="time" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="text" type="{http://hl7.org/fhir}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
authorReference |
protected String |
authorString |
protected String |
text |
protected DateTime |
time |
| Constructor and Description |
|---|
Annotation() |
| 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) |
Reference |
getAuthorReference()
Gets the value of the authorReference property.
|
String |
getAuthorString()
Gets the value of the authorString property.
|
String |
getText()
Gets the value of the text property.
|
DateTime |
getTime()
Gets the value of the time property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthorReference(Reference value)
Sets the value of the authorReference property.
|
void |
setAuthorString(String value)
Sets the value of the authorString property.
|
void |
setText(String value)
Sets the value of the text property.
|
void |
setTime(DateTime value)
Sets the value of the time property.
|
java.lang.String |
toString() |
Annotation |
withAuthorReference(Reference value) |
Annotation |
withAuthorString(String value) |
Annotation |
withExtension(java.util.Collection<Extension> values) |
Annotation |
withExtension(Extension... values) |
Annotation |
withId(java.lang.String value) |
Annotation |
withText(String value) |
Annotation |
withTime(DateTime value) |
getExtension, getId, setIdprotected Reference authorReference
protected String authorString
protected DateTime time
protected String text
public Reference getAuthorReference()
Referencepublic void setAuthorReference(Reference value)
value - allowed object is
Referencepublic String getAuthorString()
Stringpublic void setAuthorString(String value)
value - allowed object is
Stringpublic DateTime getTime()
DateTimepublic void setTime(DateTime value)
value - allowed object is
DateTimepublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic Annotation withAuthorReference(Reference value)
public Annotation withAuthorString(String value)
public Annotation withTime(DateTime value)
public Annotation withText(String value)
public Annotation withExtension(Extension... values)
withExtension in class Elementpublic Annotation withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic Annotation withId(java.lang.String value)
public 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