return new ToStringBuilder(this) .append("session_id", this.getSession_id()) .append("member_id",  this.getMember_id() ) .append("start",      this.getStart_time())
String  who   = this.getSubject().getId(); String  type  = this.getSubject().getType().getName(); if (type.equals(SubjectTypeEnum.valueOf("group"))) { who = this.getSubject().getName(); } return new ToStringBuilder(this, ToStringStyle.SIMPLE_STYLE) .append("session_id"    , this.getSession_id()) .append("subject_id"    , who                 ) .append("subject_type"  , type                )
  public String toString() {    return new ToStringBuilder(this)      .append("session_id", this.getSession_id())      .append("member_id",  this.getMember_id() )      .append("start",      this.getStart_time())      .toString();  }