info.aduna.infosource.query
Class QueryScope

java.lang.Object
  extended by info.aduna.infosource.query.QueryScope

public class QueryScope
extends Object

A QueryScope can be used to indicate to which Repositories a Query should be sent. This is expressed as a set of Strings.


Nested Class Summary
static class QueryScope.Type
           
 
Method Summary
static QueryScope createAllScope()
           
static QueryScope createSpecifiedScope(Collection<String> repositories)
           
 boolean equals(Object object)
           
 Set<String> getRepositories()
           
 QueryScope.Type getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public QueryScope.Type getType()

getRepositories

public Set<String> getRepositories()

toString

public String toString()
Overrides:
toString in class Object

createAllScope

public static QueryScope createAllScope()

createSpecifiedScope

public static QueryScope createSpecifiedScope(Collection<String> repositories)

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 1997-2008 Aduna. All Rights Reserved.