public class SEHRObjectHandler extends Module implements ModuleInterface
SEHR data objects are containers for storing a data object and a class (the
handler) to process the data. There are additional fields with informations
like creation, source, access rights etc.
This is a default handler that is loaded to handle very basic use-cases on
SEHR data objects.
N.B.: To use another handler (processor) set another class using
SEHRDataObject.setObjClass(String).
dataobject, isTerminated, Log, sdo, sehrds| Constructor and Description |
|---|
SEHRObjectHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(java.lang.Object o,
SEHRDataSource ds)
Abstract method to initialize a handler for a given object.
|
static void |
ObjectToXMLFile(java.lang.Object o,
java.io.File xmlOutFile) |
void |
run()
Abstract method to process/run the module To be overwritten by the
module handler to process data
|
void |
terminate()
Abstract method to terminate the module May be overwritten by the final
module handler
|
public void initialize(java.lang.Object o,
SEHRDataSource ds)
ModuleMay be overriden by final module object
initialize in interface ModuleInterfaceinitialize in class Modulepublic void run()
ModuleTo be overwritten by the module handler to process data
run in interface ModuleInterfacerun in class Modulepublic void terminate()
ModuleMay be overwritten by the final module handler
terminate in interface ModuleInterfaceterminate in class Modulepublic static void ObjectToXMLFile(java.lang.Object o,
java.io.File xmlOutFile)
throws GenericSEHRException
GenericSEHRException