Package com.fauna.types
Class NamedDocumentRef
- java.lang.Object
-
- com.fauna.types.BaseRef
-
- com.fauna.types.NamedDocumentRef
-
public class NamedDocumentRef extends BaseRef
Represents a document ref that has a "name" instead of an "id". For example, a Role document reference is represented as a NamedRef.
-
-
Constructor Summary
Constructors Constructor Description NamedDocumentRef(java.lang.String name, Module coll)
Constructs a new NamedRef object with the specified name and collection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
Gets the string value of the ref name.int
hashCode()
-
Methods inherited from class com.fauna.types.BaseRef
getCollection
-
-
-
-
Constructor Detail
-
NamedDocumentRef
public NamedDocumentRef(java.lang.String name, Module coll)
Constructs a new NamedRef object with the specified name and collection.- Parameters:
name
- The string value of the named document ref name.coll
- The module to which the named document ref belongs.
-
-