Package com.fauna.types
Class DocumentRef
- java.lang.Object
-
- com.fauna.types.BaseRef
-
- com.fauna.types.DocumentRef
-
public class DocumentRef extends BaseRef
Represents a document ref.
-
-
Constructor Summary
Constructors Constructor Description DocumentRef(java.lang.String id, Module coll)
Constructs a new Ref object with the specified id and collection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getId()
Gets the string value of the ref id.int
hashCode()
-
Methods inherited from class com.fauna.types.BaseRef
getCollection
-
-
-
-
Constructor Detail
-
DocumentRef
public DocumentRef(java.lang.String id, Module coll)
Constructs a new Ref object with the specified id and collection.- Parameters:
id
- The string value of the document ref id.coll
- The module to which the document ref belongs.
-
-