public class Signature extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Base64BinaryType |
blob
The base64 encoding of the Signature content.
|
protected Type |
onBehalfOf
A reference to an application-usable description of the identity that is represented by the signature.
|
protected CodeType |
sigFormat
A mime type that indicates the technical format of the signature.
|
protected CodeType |
targetFormat
A mime type that indicates the technical format of the target resources signed by the signature.
|
protected List<Coding> |
type
An indication of the reason that the entity signed this document.
|
protected InstantType |
when
When the digital signature was signed.
|
protected Type |
who
A reference to an application-usable description of the identity that signed (e.g.
|
| Constructor and Description |
|---|
Signature()
Constructor
|
Signature(InstantType when,
Type who)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected List<Coding> type
protected InstantType when
protected Type who
protected Type onBehalfOf
protected CodeType targetFormat
protected CodeType sigFormat
protected Base64BinaryType blob
public Signature()
public Signature(InstantType when, Type who)
public List<Coding> getType()
type (An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.)public Signature setType(List<Coding> theType)
this for easy method chainingpublic boolean hasType()
public Coding getTypeFirstRep()
type, creating it if it does not already existpublic InstantType getWhenElement()
when (When the digital signature was signed.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the valuepublic boolean hasWhenElement()
public boolean hasWhen()
public Signature setWhenElement(InstantType value)
value - when (When the digital signature was signed.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the valuepublic Signature setWhen(Date value)
value - When the digital signature was signed.public Type getWho()
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public UriType getWhoUriType() throws org.hl7.fhir.exceptions.FHIRException
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasWhoUriType()
public Reference getWhoReference() throws org.hl7.fhir.exceptions.FHIRException
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasWhoReference()
public boolean hasWho()
public Signature setWho(Type value)
value - who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public Type getOnBehalfOf()
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)public UriType getOnBehalfOfUriType() throws org.hl7.fhir.exceptions.FHIRException
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOnBehalfOfUriType()
public Reference getOnBehalfOfReference() throws org.hl7.fhir.exceptions.FHIRException
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOnBehalfOfReference()
public boolean hasOnBehalfOf()
public Signature setOnBehalfOf(Type value)
value - onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)public CodeType getTargetFormatElement()
targetFormat (A mime type that indicates the technical format of the target resources signed by the signature.). This is the underlying object with id, value and extensions. The accessor "getTargetFormat" gives direct access to the valuepublic boolean hasTargetFormatElement()
public boolean hasTargetFormat()
public Signature setTargetFormatElement(CodeType value)
value - targetFormat (A mime type that indicates the technical format of the target resources signed by the signature.). This is the underlying object with id, value and extensions. The accessor "getTargetFormat" gives direct access to the valuepublic String getTargetFormat()
public Signature setTargetFormat(String value)
value - A mime type that indicates the technical format of the target resources signed by the signature.public CodeType getSigFormatElement()
sigFormat (A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.). This is the underlying object with id, value and extensions. The accessor "getSigFormat" gives direct access to the valuepublic boolean hasSigFormatElement()
public boolean hasSigFormat()
public Signature setSigFormatElement(CodeType value)
value - sigFormat (A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.). This is the underlying object with id, value and extensions. The accessor "getSigFormat" gives direct access to the valuepublic String getSigFormat()
public Signature setSigFormat(String value)
value - A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.public Base64BinaryType getBlobElement()
blob (The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.). This is the underlying object with id, value and extensions. The accessor "getBlob" gives direct access to the valuepublic boolean hasBlobElement()
public boolean hasBlob()
public Signature setBlobElement(Base64BinaryType value)
value - blob (The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.). This is the underlying object with id, value and extensions. The accessor "getBlob" gives direct access to the valuepublic byte[] getBlob()
public Signature setBlob(byte[] value)
value - The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.