org.datamanager.tools.kernelproxy
Class GetAttributesWorker

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

public class GetAttributesWorker
extends InterfaceWorker

Retrieves all the attributes of an entity matching a given constraint. A call to get() will retrieve the Entity[] 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
GetAttributesWorker(Entity entity, EntityConstraint constraint)
          Creates a worker to get all the attributes of an entity.
 
Method Summary
protected  Object construct()
          Gets the attributes on entity that match constraint.
 
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

GetAttributesWorker

public GetAttributesWorker(Entity entity,
                           EntityConstraint constraint)
Creates a worker to get all the attributes of an entity.

Parameters:
entity - the entity to get the attributes of
constraint - the constraint to match
Method Detail

construct

protected Object construct()
                    throws DataManagerException
Gets the attributes on entity that match constraint.

Specified by:
construct in class InterfaceWorker
Returns:
An array of Entities.
DataManagerException


See the Helium Website