com.bea.wli.config.resource
Class DependencyQuery

java.lang.Object
  extended by com.bea.wli.config.resource.BaseQuery
      extended by com.bea.wli.config.resource.DependencyQuery
All Implemented Interfaces:
Serializable

public class DependencyQuery
extends BaseQuery
implements Serializable

Class for making a query to get the Parents/Childs based on the dependency graph established by the references from one resource to another.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
DependencyQuery(Collection<Ref> refs, boolean dependents)
           
 
Method Summary
 Set<Ref> getRefs()
           
 boolean isDependents()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DependencyQuery

public DependencyQuery(Collection<Ref> refs,
                       boolean dependents)
Parameters:
refs - list of resources/projects/folders for which the dependencies or dependent need to be returned as a result of this query
dependents - if true, as a result of this query dependents/parents are returned. else, dependencies/Childs are returned.
Method Detail

getRefs

public Set<Ref> getRefs()

isDependents

public boolean isDependents()