public class Signature extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Base64BinaryType |
data
The base64 encoding of the Signature content.
|
protected Reference |
onBehalfOf
A reference to an application-usable description of the identity that is represented by the signature.
|
protected Resource |
onBehalfOfTarget
The actual object that is the target of the reference (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 Reference |
who
A reference to an application-usable description of the identity that signed (e.g.
|
protected Resource |
whoTarget
The actual object that is the target of the reference (A reference to an application-usable description of the identity that signed (e.g.
|
| Constructor and Description |
|---|
Signature()
Constructor
|
Signature(InstantType when,
Reference who)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, 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, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected List<Coding> type
protected InstantType when
protected Reference who
protected Resource whoTarget
protected Reference onBehalfOf
protected Resource onBehalfOfTarget
protected CodeType targetFormat
protected CodeType sigFormat
protected Base64BinaryType data
public Signature()
public Signature(InstantType when, Reference 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 Reference getWho()
who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public boolean hasWho()
public Signature setWho(Reference value)
value - who (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public Resource getWhoTarget()
who The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public Signature setWhoTarget(Resource value)
value - who The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).)public Reference getOnBehalfOf()
onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)public boolean hasOnBehalfOf()
public Signature setOnBehalfOf(Reference value)
value - onBehalfOf (A reference to an application-usable description of the identity that is represented by the signature.)public Resource getOnBehalfOfTarget()
onBehalfOf The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to an application-usable description of the identity that is represented by the signature.)public Signature setOnBehalfOfTarget(Resource value)
value - onBehalfOf The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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 getDataElement()
data (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 "getData" gives direct access to the valuepublic boolean hasDataElement()
public boolean hasData()
public Signature setDataElement(Base64BinaryType value)
value - data (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 "getData" gives direct access to the valuepublic byte[] getData()
public Signature setData(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 void copyValues(Signature dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2021 Health Level 7. All rights reserved.