public class Signature extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Signature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Signature">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="type" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded"/>
<element name="when" type="{http://hl7.org/fhir}instant"/>
<choice>
<element name="whoUri" type="{http://hl7.org/fhir}uri"/>
<element name="whoReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="contentType" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="blob" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Base64Binary |
blob |
protected Code |
contentType |
protected java.util.List<Coding> |
type |
protected Instant |
when |
protected Reference |
whoReference |
protected Uri |
whoUri |
| Constructor and Description |
|---|
Signature() |
| 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) |
Base64Binary |
getBlob()
Gets the value of the blob property.
|
Code |
getContentType()
Gets the value of the contentType property.
|
java.util.List<Coding> |
getType()
Gets the value of the type property.
|
Instant |
getWhen()
Gets the value of the when property.
|
Reference |
getWhoReference()
Gets the value of the whoReference property.
|
Uri |
getWhoUri()
Gets the value of the whoUri property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBlob(Base64Binary value)
Sets the value of the blob property.
|
void |
setContentType(Code value)
Sets the value of the contentType property.
|
void |
setWhen(Instant value)
Sets the value of the when property.
|
void |
setWhoReference(Reference value)
Sets the value of the whoReference property.
|
void |
setWhoUri(Uri value)
Sets the value of the whoUri property.
|
java.lang.String |
toString() |
Signature |
withBlob(Base64Binary value) |
Signature |
withContentType(Code value) |
Signature |
withExtension(java.util.Collection<Extension> values) |
Signature |
withExtension(Extension... values) |
Signature |
withId(java.lang.String value) |
Signature |
withType(Coding... values) |
Signature |
withType(java.util.Collection<Coding> values) |
Signature |
withWhen(Instant value) |
Signature |
withWhoReference(Reference value) |
Signature |
withWhoUri(Uri value) |
getExtension, getId, setIdprotected java.util.List<Coding> type
protected Instant when
protected Uri whoUri
protected Reference whoReference
protected Code contentType
protected Base64Binary blob
public java.util.List<Coding> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
Coding
public Instant getWhen()
Instantpublic void setWhen(Instant value)
value - allowed object is
Instantpublic Uri getWhoUri()
Uripublic void setWhoUri(Uri value)
value - allowed object is
Uripublic Reference getWhoReference()
Referencepublic void setWhoReference(Reference value)
value - allowed object is
Referencepublic Code getContentType()
Codepublic void setContentType(Code value)
value - allowed object is
Codepublic Base64Binary getBlob()
Base64Binarypublic void setBlob(Base64Binary value)
value - allowed object is
Base64Binarypublic Signature withBlob(Base64Binary value)
public Signature withExtension(Extension... values)
withExtension in class Elementpublic Signature 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