public class Binary extends BaseBinary implements org.hl7.fhir.instance.model.api.IBaseBinary
| Modifier and Type | Field and Description |
|---|---|
protected Base64BinaryType |
content
The actual content, base64 encoded.
|
protected CodeType |
contentType
MimeType of the binary content represented as a standard MimeType (BCP 13).
|
protected Reference |
securityContext
Treat this binary as if it was this other resource for access control purposes.
|
protected Resource |
securityContextTarget
The actual object that is the target of the reference (Treat this binary as if it was this other resource for access control purposes.)
|
id, implicitRules, language, meta| Constructor and Description |
|---|
Binary()
Constructor
|
Binary(CodeType contentType,
Base64BinaryType content)
Constructor
|
getContentAsBase64, setContentAsBase64copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentAsBase64, setContentAsBase64getIdElement, getMeta, getStructureFhirVersionEnum, setId, setIdprotected CodeType contentType
protected Reference securityContext
protected Resource securityContextTarget
protected Base64BinaryType content
public Binary()
public Binary(CodeType contentType, Base64BinaryType content)
public CodeType getContentTypeElement()
contentType (MimeType of the binary content represented as a standard MimeType (BCP 13).). 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 Binary setContentTypeElement(CodeType value)
value - contentType (MimeType of the binary content represented as a standard MimeType (BCP 13).). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the valuepublic String getContentType()
getContentType in interface org.hl7.fhir.instance.model.api.IBaseBinarypublic Binary setContentType(String value)
setContentType in interface org.hl7.fhir.instance.model.api.IBaseBinaryvalue - MimeType of the binary content represented as a standard MimeType (BCP 13).public Reference getSecurityContext()
securityContext (Treat this binary as if it was this other resource for access control purposes.)public boolean hasSecurityContext()
public Binary setSecurityContext(Reference value)
value - securityContext (Treat this binary as if it was this other resource for access control purposes.)public Resource getSecurityContextTarget()
securityContext 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. (Treat this binary as if it was this other resource for access control purposes.)public Binary setSecurityContextTarget(Resource value)
value - securityContext 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. (Treat this binary as if it was this other resource for access control purposes.)public Base64BinaryType getContentElement()
content (The actual content, base64 encoded.). This is the underlying object with id, value and extensions. The accessor "getContent" gives direct access to the valuepublic boolean hasContentElement()
public boolean hasContent()
public Binary setContentElement(Base64BinaryType value)
value - content (The actual content, base64 encoded.). This is the underlying object with id, value and extensions. The accessor "getContent" gives direct access to the valuepublic byte[] getContent()
getContent in interface org.hl7.fhir.instance.model.api.IBaseBinarypublic Binary setContent(byte[] value)
setContent in interface org.hl7.fhir.instance.model.api.IBaseBinaryvalue - The actual content, base64 encoded.protected void listChildren(List<Property> children)
listChildren in class Resourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other_)
equalsDeep in class Resourcepublic boolean equalsShallow(Base other_)
equalsShallow in class Resourcepublic boolean isEmpty()
public ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.