Adding pretty toString() to AffinityGroup

This commit is contained in:
Prachi Damle 2013-04-10 14:18:36 -07:00
parent 4a1eaf45bd
commit 6ec7e25993
1 changed files with 7 additions and 0 deletions

View File

@ -104,4 +104,11 @@ public class AffinityGroupVO implements AffinityGroup {
return type;
}
@Override
public String toString() {
StringBuilder buf = new StringBuilder("AffinityGroup[");
buf.append(id).append("|").append(name).append("|").append(type).append("]");
return buf.toString();
}
}