Package org.hl7.fhir
Class Signature
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.Signature
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Signature extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Base64Binaryblobprotected CodecontentTypeprotected java.util.List<Coding>typeprotected Instantwhenprotected ReferencewhoReferenceprotected UriwhoUri
-
Constructor Summary
Constructors Constructor Description Signature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)Base64BinarygetBlob()Gets the value of the blob property.CodegetContentType()Gets the value of the contentType property.java.util.List<Coding>getType()Gets the value of the type property.InstantgetWhen()Gets the value of the when property.ReferencegetWhoReference()Gets the value of the whoReference property.UrigetWhoUri()Gets the value of the whoUri property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBlob(Base64Binary value)Sets the value of the blob property.voidsetContentType(Code value)Sets the value of the contentType property.voidsetWhen(Instant value)Sets the value of the when property.voidsetWhoReference(Reference value)Sets the value of the whoReference property.voidsetWhoUri(Uri value)Sets the value of the whoUri property.java.lang.StringtoString()SignaturewithBlob(Base64Binary value)SignaturewithContentType(Code value)SignaturewithExtension(java.util.Collection<Extension> values)SignaturewithExtension(Extension... values)SignaturewithId(java.lang.String value)SignaturewithType(java.util.Collection<Coding> values)SignaturewithType(Coding... values)SignaturewithWhen(Instant value)SignaturewithWhoReference(Reference value)SignaturewithWhoUri(Uri value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Method Detail
-
getType
public java.util.List<Coding> getType()
Gets the value of the type property.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
setmethod 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
-
getWhen
public Instant getWhen()
Gets the value of the when property.- Returns:
- possible object is
Instant
-
setWhen
public void setWhen(Instant value)
Sets the value of the when property.- Parameters:
value- allowed object isInstant
-
getWhoUri
public Uri getWhoUri()
Gets the value of the whoUri property.- Returns:
- possible object is
Uri
-
setWhoUri
public void setWhoUri(Uri value)
Sets the value of the whoUri property.- Parameters:
value- allowed object isUri
-
getWhoReference
public Reference getWhoReference()
Gets the value of the whoReference property.- Returns:
- possible object is
Reference
-
setWhoReference
public void setWhoReference(Reference value)
Sets the value of the whoReference property.- Parameters:
value- allowed object isReference
-
getContentType
public Code getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
Code
-
setContentType
public void setContentType(Code value)
Sets the value of the contentType property.- Parameters:
value- allowed object isCode
-
getBlob
public Base64Binary getBlob()
Gets the value of the blob property.- Returns:
- possible object is
Base64Binary
-
setBlob
public void setBlob(Base64Binary value)
Sets the value of the blob property.- Parameters:
value- allowed object isBase64Binary
-
withBlob
public Signature withBlob(Base64Binary value)
-
withExtension
public Signature withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public Signature withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
equals
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.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-