public class AttachmentDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: For referring to data content defined in other formats.
Requirements: Many models need to include data defined in other specifications that is complex and opaque to the healthcare model. This includes documents, media recordings, structured data, etc.
| Constructor and Description |
|---|
AttachmentDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getContentType()
Gets the value(s) for contentType ().
|
CodeDt |
getContentTypeElement()
Gets the value(s) for contentType ().
|
Date |
getCreation()
Gets the value(s) for creation ().
|
DateTimeDt |
getCreationElement()
Gets the value(s) for creation ().
|
byte[] |
getData()
Gets the value(s) for data ().
|
Base64BinaryDt |
getDataElement()
Gets the value(s) for data ().
|
byte[] |
getHash()
Gets the value(s) for hash ().
|
Base64BinaryDt |
getHashElement()
Gets the value(s) for hash ().
|
String |
getLanguage()
Gets the value(s) for language ().
|
CodeDt |
getLanguageElement()
Gets the value(s) for language ().
|
Integer |
getSize()
Gets the value(s) for size ().
|
UnsignedIntDt |
getSizeElement()
Gets the value(s) for size ().
|
String |
getTitle()
Gets the value(s) for title ().
|
StringDt |
getTitleElement()
Gets the value(s) for title ().
|
String |
getUrl()
Gets the value(s) for url ().
|
UriDt |
getUrlElement()
Gets the value(s) for url ().
|
boolean |
isEmpty() |
AttachmentDt |
setContentType(CodeDt theValue)
Sets the value(s) for contentType ()
|
AttachmentDt |
setContentType(String theCode)
Sets the value for contentType ()
|
AttachmentDt |
setCreation(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for creation ()
|
AttachmentDt |
setCreation(DateTimeDt theValue)
Sets the value(s) for creation ()
|
AttachmentDt |
setCreationWithSecondsPrecision(Date theDate)
Sets the value for creation ()
|
AttachmentDt |
setData(Base64BinaryDt theValue)
Sets the value(s) for data ()
|
AttachmentDt |
setData(byte[] theBytes)
Sets the value for data ()
|
AttachmentDt |
setHash(Base64BinaryDt theValue)
Sets the value(s) for hash ()
|
AttachmentDt |
setHash(byte[] theBytes)
Sets the value for hash ()
|
AttachmentDt |
setLanguage(CodeDt theValue)
Sets the value(s) for language ()
|
AttachmentDt |
setLanguage(String theCode)
Sets the value for language ()
|
AttachmentDt |
setSize(int theInteger)
Sets the value for size ()
|
AttachmentDt |
setSize(UnsignedIntDt theValue)
Sets the value(s) for size ()
|
AttachmentDt |
setTitle(String theString)
Sets the value for title ()
|
AttachmentDt |
setTitle(StringDt theValue)
Sets the value(s) for title ()
|
AttachmentDt |
setUrl(String theUri)
Sets the value for url ()
|
AttachmentDt |
setUrl(UriDt theValue)
Sets the value(s) for url ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic AttachmentDt()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic CodeDt getContentTypeElement()
null.
Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate
public String getContentType()
null.
Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate
public AttachmentDt setContentType(CodeDt theValue)
Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate
public AttachmentDt setContentType(String theCode)
Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate
public CodeDt getLanguageElement()
null.
Definition: The human language of the content. The value can be any valid value according to BCP 47
public String getLanguage()
null.
Definition: The human language of the content. The value can be any valid value according to BCP 47
public AttachmentDt setLanguage(CodeDt theValue)
Definition: The human language of the content. The value can be any valid value according to BCP 47
public AttachmentDt setLanguage(String theCode)
Definition: The human language of the content. The value can be any valid value according to BCP 47
public Base64BinaryDt getDataElement()
null.
Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
public byte[] getData()
null.
Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
public AttachmentDt setData(Base64BinaryDt theValue)
Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
public AttachmentDt setData(byte[] theBytes)
Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
public UriDt getUrlElement()
null.
Definition: An alternative location where the data can be accessed
public String getUrl()
null.
Definition: An alternative location where the data can be accessed
public AttachmentDt setUrl(UriDt theValue)
Definition: An alternative location where the data can be accessed
public AttachmentDt setUrl(String theUri)
Definition: An alternative location where the data can be accessed
public UnsignedIntDt getSizeElement()
null.
Definition: The number of bytes of data that make up this attachment.
public Integer getSize()
null.
Definition: The number of bytes of data that make up this attachment.
public AttachmentDt setSize(UnsignedIntDt theValue)
Definition: The number of bytes of data that make up this attachment.
public AttachmentDt setSize(int theInteger)
Definition: The number of bytes of data that make up this attachment.
public Base64BinaryDt getHashElement()
null.
Definition: The calculated hash of the data using SHA-1. Represented using base64
public byte[] getHash()
null.
Definition: The calculated hash of the data using SHA-1. Represented using base64
public AttachmentDt setHash(Base64BinaryDt theValue)
Definition: The calculated hash of the data using SHA-1. Represented using base64
public AttachmentDt setHash(byte[] theBytes)
Definition: The calculated hash of the data using SHA-1. Represented using base64
public StringDt getTitleElement()
null.
Definition: A label or set of text to display in place of the data
public String getTitle()
null.
Definition: A label or set of text to display in place of the data
public AttachmentDt setTitle(StringDt theValue)
Definition: A label or set of text to display in place of the data
public AttachmentDt setTitle(String theString)
Definition: A label or set of text to display in place of the data
public DateTimeDt getCreationElement()
null.
Definition: The date that the attachment was first created
public Date getCreation()
null.
Definition: The date that the attachment was first created
public AttachmentDt setCreation(DateTimeDt theValue)
Definition: The date that the attachment was first created
public AttachmentDt setCreation(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date that the attachment was first created
public AttachmentDt setCreationWithSecondsPrecision(Date theDate)
Definition: The date that the attachment was first created
Copyright © 2014–2016 University Health Network. All rights reserved.