[JAVA-35] Add accessors for DBRefBase Created: 15/Sep/09  Updated: 02/Oct/09  Resolved: 15/Sep/09

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 0.8, 0.9
Fix Version/s: 0.10

Type: Improvement Priority: Major - P3
Reporter: Kris Pruden Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The DBRefBase class has three attributes - database, collection name (namespace) and referenced ID. I'd like to be able to inspect these values for a given DBRefBase object via getter methods.

In my case, I need this for testing purposes, but I can imagine this might be useful for other reasons as well.



 Comments   
Comment by Kristina Chodorow (Inactive) [ 15/Sep/09 ]

ref.getId()
ref.getRef()
ref.getDB()

Generated at Thu Feb 08 08:51:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.