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
|
static String |
SP_CONTENTTYPE
Search parameter: contenttype
|
id, implicitRules, language, meta| Constructor and Description |
|---|
Binary()
Constructor
|
Binary(CodeType contentType,
Base64BinaryType content)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Binary |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
byte[] |
getContent() |
Base64BinaryType |
getContentElement() |
String |
getContentType() |
CodeType |
getContentTypeElement() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
ResourceType |
getResourceType() |
boolean |
hasContent() |
boolean |
hasContentElement() |
boolean |
hasContentType() |
boolean |
hasContentTypeElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Binary |
setContent(byte[] value) |
Binary |
setContentElement(Base64BinaryType value) |
Binary |
setContentType(String value) |
Binary |
setContentTypeElement(CodeType value) |
void |
setProperty(int hash,
String name,
Base value) |
void |
setProperty(String name,
Base value) |
protected Binary |
typedCopy() |
getContentAsBase64, setContentAsBase64copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, 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, setIdprotected CodeType contentType
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 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 void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 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.