Package com.fauna.types
Class BaseRef
- java.lang.Object
-
- com.fauna.types.BaseRef
-
- Direct Known Subclasses:
DocumentRef
,NamedDocumentRef
public abstract class BaseRef extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Module
getCollection()
Gets the collection to which the ref belongs.int
hashCode()
-
-
-
Constructor Detail
-
BaseRef
public BaseRef(Module coll)
Constructs a new Ref object with the specified id and collection.- Parameters:
coll
- The module to which the document ref belongs.
-
-
Method Detail
-
getCollection
public Module getCollection()
Gets the collection to which the ref belongs.- Returns:
- The collection to which the ref belongs.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-