/** {@inheritDoc} */
 @Override
 public void toString(StringBuilder buffer) {
   buffer.append("VirtualStaticGroup(dn=");
   buffer.append(groupEntryDN);
   buffer.append(",targetGroupDN=");
   buffer.append(targetGroupDN);
   buffer.append(")");
 }
Пример #2
0
  /** {@inheritDoc} */
  @Override
  public String toString() {
    StringBuilder buffer = new StringBuilder();
    buffer.append("ModifyChangeRecordEntry(dn=\"");
    buffer.append(getDN());
    buffer.append("\", mods={");

    Iterator<RawModification> iterator = modifications.iterator();
    while (iterator.hasNext()) {
      RawModification mod = iterator.next();
      buffer.append(mod.getModificationType());
      buffer.append(" ");
      buffer.append(mod.getAttribute().getAttributeType());

      if (iterator.hasNext()) {
        buffer.append(", ");
      }
    }
    buffer.append("})");

    return buffer.toString();
  }