Class GetBasesWorker


public class GetBasesWorker
extends InterfaceWorker

Retrieves all the bases 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
GetBasesWorker(Entity entity, EntityConstraint constraint)
          Creates a worker to get all the bases of an entity.
Method Summary
protected  Object construct()
          Gets the bases on 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 GetBasesWorker(Entity entity,
                      EntityConstraint constraint)
Creates a worker to get all the bases of an entity.

entity - the entity to get the bases of
constraint - the constraint to match
Method Detail


protected Object construct()
                    throws DataManagerException
Gets the bases on entity.

Specified by:
construct in class InterfaceWorker
An array of Entities

See the Helium Website