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).
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTENTTYPE
Fluent Client search parameter constant for contenttype
|
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.)
|
static String |
SP_CONTENTTYPE
Search parameter: contenttype
|
id, implicitRules, language, meta| Constructor and Description |
|---|
Binary()
Constructor
|
Binary(CodeType contentType,
Base64BinaryType content)
Constructor
|
getContentAsBase64, setContentAsBase64copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, 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 static final String SP_CONTENTTYPE
Description: MimeType of the binary content
Type: token
Path: Binary.contentType
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTENTTYPE
Description: MimeType of the binary content
Type: token
Path: Binary.contentType
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> childrenList)
listChildren in class Resourcepublic 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.