Class 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
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 GetNameWorker(Entity entity)
Creates a worker to get the name of an entity.

entity - the entity to get the name of
Method Detail


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

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

See the Helium Website