Class 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
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


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

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


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

See the Helium Website