Class Scope


  • public class Scope
    extends java.lang.Object
    • Method Detail

      • getName

        @NonNull
        public java.lang.String getName()
        Get the scope name.
        Returns:
        Scope name
      • getCollection

        @Nullable
        public Collection getCollection​(@NonNull
                                        java.lang.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
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object