Package com.couchbase.lite
Class Scope
java.lang.Object
com.couchbase.lite.Scope
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetCollection(String collectionName) Get the named collection for the scope.Get all collections in the scope.getName()Get the scope name.inthashCode()toString() 
- 
Field Details
- 
DEFAULT_NAME
- See Also:
 
 
 - 
 - 
Method Details
- 
getName
Get the scope name.- Returns:
 - Scope name
 
 - 
getCollections
Get all collections in the scope.- Returns:
 - a set of all collections in the scope
 - Throws:
 CouchbaseLiteException
 - 
getCollection
@Nullable public Collection getCollection(@NonNull String collectionName) throws CouchbaseLiteException Get the named collection for the scope.- Parameters:
 collectionName- the name of the sought collection- Returns:
 - the named collection or null
 - Throws:
 CouchbaseLiteException
 - 
getDatabase
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() 
 -