org.ifeth.sehr.lib
Class SEHRObjectHandler

java.lang.Object
  extended byorg.ifeth.sehr.lib.Module
      extended byorg.ifeth.sehr.lib.SEHRObjectHandler
All Implemented Interfaces:
ModuleInterface

public class SEHRObjectHandler
extends Module
implements ModuleInterface

Default handler for SEHR Data Objects.

SEHR Data Objects are containers storing a data object and a class (handler) to process the data. There are some more fields holding 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.

Author:
hjhaase

Constructor Summary
SEHRObjectHandler()
           
 
Method Summary
 void initialize(java.lang.Object o, SEHRCfg cfg)
          Used to initialize the object handler
 void run()
          Used to start the object handler
 void terminate()
          Used to terminate the object handler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SEHRObjectHandler

public SEHRObjectHandler()
Method Detail

initialize

public void initialize(java.lang.Object o,
                       SEHRCfg cfg)
Description copied from interface: ModuleInterface
Used to initialize the object handler

Specified by:
initialize in interface ModuleInterface
Overrides:
initialize in class Module

run

public void run()
Description copied from interface: ModuleInterface
Used to start the object handler

Specified by:
run in interface ModuleInterface
Overrides:
run in class Module

terminate

public void terminate()
Description copied from interface: ModuleInterface
Used to terminate the object handler

Specified by:
terminate in interface ModuleInterface
Overrides:
terminate in class Module