added getType() accessor
This commit is contained in:
parent
3d8960caee
commit
924f3f31a6
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,10 @@ public class Key {
|
||||||
return ptype+"/"+pid + "~" + sid;
|
return ptype+"/"+pid + "~" + sid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getType () {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
public String toString () {
|
public String toString () {
|
||||||
return type+"["+id+"]";
|
return type+"["+id+"]";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue