com.bea.wli.config.resource
Class DependencyQuery
java.lang.Object
com.bea.wli.config.resource.BaseQuery
com.bea.wli.config.resource.DependencyQuery
- All Implemented Interfaces:
- java.io.Serializable
public class DependencyQuery
- extends BaseQuery
- implements java.io.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
DependencyQuery
public DependencyQuery(java.util.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 querydependents
- if true, as a result of this query
dependents/parents are returned.
else, dependencies/Childs are returned.
getRefs
public java.util.Set<Ref> getRefs()
isDependents
public boolean isDependents()