org.datamanager.tools.kernelproxy
Class AttachEntityWorker

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.tools.kernelproxy.InterfaceWorker
              |
              +--org.datamanager.tools.kernelproxy.AttachEntityWorker

public class AttachEntityWorker
extends InterfaceWorker

Attaches an entity as an attribute to another entity. Note: This thread will only work when run within the kernel on an approved thread.


Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
AttachEntityWorker(Entity base, Entity attribute)
          Attaches attribute as an attribute to base
 
Method Summary
protected  Object construct()
          Computes the value to be returned by the get method.
 
Methods inherited from class org.datamanager.tools.kernelproxy.InterfaceWorker
get, getInformation, getValue, process
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachEntityWorker

public AttachEntityWorker(Entity base,
                          Entity attribute)
Attaches attribute as an attribute to base

Parameters:
base - the base entity that will receive the attribute
attribute - the entity that will attach itself
Method Detail

construct

protected Object construct()
                    throws DataManagerException
Description copied from class: InterfaceWorker
Computes the value to be returned by the get method.

Specified by:
construct in class InterfaceWorker
DataManagerException


See the Helium Website