public class Binary extends BaseBinary implements IBaseBinary
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_CONTENTTYPE |
| Constructor and Description |
|---|
Binary() |
Binary(CodeType contentType,
Base64BinaryType content) |
| Modifier and Type | Method and Description |
|---|---|
Binary |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
byte[] |
getContent() |
Base64BinaryType |
getContentElement() |
String |
getContentType() |
CodeType |
getContentTypeElement() |
ResourceType |
getResourceType() |
boolean |
hasContent() |
boolean |
hasContentElement() |
boolean |
hasContentType() |
boolean |
hasContentTypeElement() |
boolean |
isEmpty() |
Binary |
setContent(byte[] value) |
Binary |
setContentElement(Base64BinaryType value) |
Binary |
setContentType(String value) |
Binary |
setContentTypeElement(CodeType value) |
getContentAsBase64, setContentAsBase64copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentAsBase64, setContentAsBase64getIdElement, setId, setIdpublic static final String SP_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 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.public 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–2015 University Health Network. All rights reserved.