public class Binary extends BaseBinary implements 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 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, metaINCLUDE_ALL, WILDCARD_ALL_SETRES_ID, SP_RES_ID, SP_RES_LANGUAGE| 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, 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, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentgetUserData, setUserDataprotected 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 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 IBaseBinarypublic Binary setContentType(String value)
setContentType in interface 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 IBaseBinarypublic Binary setContent(byte[] value)
setContent in interface 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 FHIRException
getProperty in class ResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ResourceFHIRExceptionpublic 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–2017 University Health Network. All rights reserved.