org.datamanager.tools.kernelproxy
Class GetNameWorker

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

public class GetNameWorker
extends InterfaceWorker

Retrieves the name (not the interface name) of an entity. A call to get() will retrieve the String (name) as an Object. 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
GetNameWorker(Entity entity)
          Creates a worker to get the name of an entity.
 
Method Summary
protected  Object construct()
          Gets the name of an entity.
 
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

GetNameWorker

public GetNameWorker(Entity entity)
Creates a worker to get the name of an entity.

Parameters:
entity - the entity to get the name of
Method Detail

construct

protected Object construct()
                    throws DataManagerException
Gets the name of an entity.

Specified by:
construct in class InterfaceWorker
Returns:
A String holding the name.
DataManagerException


See the Helium Website