public class Signature extends Type implements ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Base64BinaryType |
blob
The base64 encoding of the Signature content.
|
protected CodeType |
contentType
A mime type that indicates the technical format of the signature.
|
protected Type |
onBehalfOf
A reference to an application-usable description of the identity that is represented 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, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Coding> type
protected InstantType when
protected Type who
protected Type onBehalfOf
protected CodeType contentType
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 FHIRException
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)FHIRExceptionpublic boolean hasWhoUriType()
public Reference getWhoReference() throws FHIRException
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)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 FHIRException
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)FHIRExceptionpublic boolean hasOnBehalfOfUriType()
public Reference getOnBehalfOfReference() throws FHIRException
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)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 getContentTypeElement()
contentType (A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature, etc.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the valuepublic boolean hasContentTypeElement()
public boolean hasContentType()
public Signature setContentTypeElement(CodeType value)
value - contentType (A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature, etc.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the valuepublic String getContentType()
public Signature setContentType(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/jwt for JWT, 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> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.