Permalink
Browse files

Add accessors to RiakLink.

  • Loading branch information...
1 parent 355eea9 commit 14b60d09dfe06a05be4adbb232499dfba8714308 @mmcgrana mmcgrana committed with Aug 8, 2010
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/com/trifork/riak/RiakLink.java
View
12 src/com/trifork/riak/RiakLink.java
@@ -57,6 +57,18 @@ public RiakLink(ByteString bucket, ByteString key, ByteString tag) {
return res;
}
+ public ByteString getBucket() {
+ return bucket;
+ }
+
+ public ByteString getKey() {
+ return key;
+ }
+
+ public ByteString getTag() {
+ return tag;
+ }
+
public RpbLink build() {
Builder b = RpbLink.newBuilder();

0 comments on commit 14b60d0

Please sign in to comment.