示例#1
0
 @Override
 public String toString() {
   final ToString asString = new ToString(this);
   asString.append("context", getId());
   appendState(asString);
   return asString.toString();
 }
示例#2
0
 public void appendState(final ToString asString) {
   asString.append("authenticationSession", getAuthenticationSession());
   asString.append("persistenceSession", getPersistenceSession());
   asString.append("transaction", getCurrentTransaction());
 }
 @Override
 public String toString() {
   final ToString str = new ToString(this);
   str.append("class", getFullIdentifier());
   return str.toString();
 }