- added ObjectReference.getLdName method

pull/4/head
Michael Zillgith 8 years ago
parent b14388a764
commit dc632f3007

@ -50,6 +50,14 @@ public final class ObjectReference implements Iterable<String> {
return nodeNames.get(nodeNames.size() - 1); return nodeNames.get(nodeNames.size() - 1);
} }
public String getLdName() {
if (nodeNames == null) {
parseForNameList();
}
return nodeNames.get(0);
}
@Override @Override
public String toString() { public String toString() {
return objectReference; return objectReference;

Loading…
Cancel
Save