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.
Constructor Summary |
GetNameWorker(Entity entity)
Creates a worker to get the name of an entity. |
GetNameWorker
public GetNameWorker(Entity entity)
- Creates a worker to get the name of an entity.
- Parameters:
entity
- the entity to get the name of
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