public class ComplexData extends Object implements Serializable
InputStream
, at least prior to
saving the object.Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ComplexData(String title,
Object data)
Default constructor requires title and data.
|
Modifier and Type | Method and Description |
---|---|
Object |
getData()
Get the data Object.
|
Long |
getLength()
Get the data length
|
String |
getMimeType()
Get the data MIME type
|
String |
getTitle()
Get the title for this ComplexData
|
void |
setLength(Long length)
Set the data length
|
void |
setMimeType(String mimeType)
Set the data MIME type
|
public static final long serialVersionUID
public String getTitle()
String
public Object getData()
Object
public void setMimeType(String mimeType)
mimeType
- public String getMimeType()
public void setLength(Long length)
length
- public Long getLength()
Copyright © 2024 OpenMRS Inc.. All rights reserved.