[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() |