Package io.nitric.api.document
Class Key
- java.lang.Object
-
- io.nitric.api.document.Key
-
public class Key extends Object
Provides a Document Key class.- See Also:
Collection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
getCollection()
Return the document collection.String
getId()
Return the unique collection document id.String
toString()
Return the string representation of this object.
-
-
-
Method Detail
-
getCollection
public Collection getCollection()
Return the document collection.- Returns:
- the documents collection
-
getId
public String getId()
Return the unique collection document id.- Returns:
- the unique document collection id
-
-