Search in sources :

Example 1 with ToString

use of org.bedework.util.misc.ToString in project bw-calendar-engine by Bedework.

the class BwAlarm method toString.

@Override
public String toString() {
    ToString ts = new ToString(this);
    toStringSegment(ts);
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 2 with ToString

use of org.bedework.util.misc.ToString in project bw-calendar-engine by Bedework.

the class BwAttachment method toString.

@Override
public String toString() {
    final ToString ts = new ToString(this);
    toStringSegment(ts);
    ts.append("fmttype", getFmtType());
    ts.append("valueType", getValueType());
    ts.append("encoding", getEncoding());
    if (getUri() != null) {
        ts.append("uri", getUri());
    } else {
        ts.append("value", getValue());
    }
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 3 with ToString

use of org.bedework.util.misc.ToString in project bw-calendar-engine by Bedework.

the class BwAttendee method toString.

@Override
public String toString() {
    final ToString ts = new ToString(this);
    toStringSegment(ts);
    ts.append("type", getType());
    ts.append("cn", getCn());
    ts.append("cuType", getCuType());
    ts.append("delegatedFrom", getDelegatedFrom());
    ts.append("delegatedTo", getDelegatedTo());
    ts.newLine();
    ts.append("dir", getDir());
    ts.append("language", getLanguage());
    ts.append("member", getMember());
    ts.append("rsvp", getRsvp());
    ts.newLine();
    ts.append("role", getRole());
    ts.append("partstat", getPartstat());
    ts.append("sentBy", getSentBy());
    ts.append("attendeeUri", getAttendeeUri());
    ts.newLine();
    ts.append("sequence", getSequence());
    ts.append("dtstamp", getDtstamp());
    ts.newLine();
    ts.append("scheduleAgent", getScheduleAgent());
    ts.append("scheduleStatus", getScheduleStatus());
    if (getType() == typeVoter) {
        ts.newLine();
        ts.append("response", getResponse());
        ts.append("stayInformed", getStayInformed());
    }
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 4 with ToString

use of org.bedework.util.misc.ToString in project bw-calendar-engine by Bedework.

the class BwCalendar method toString.

@Override
public String toString() {
    final ToString ts = new ToString(this);
    toStringSegment(ts);
    ts.append("name", getName());
    ts.append("path", getPath());
    ts.append("tombstoned", getTombstoned());
    ts.append("displayName", getSummary());
    ts.newLine();
    ts.append("description", getDescription());
    // ts.append("mailListId", getMailListId());
    ts.append("calendarCollection", getCalendarCollection());
    ts.append("calType", getCalType());
    /* Forces fetch
    if (hasChildren()) {
      sb.append(",\nchildren(");

      boolean donech = false;

      for (BwCalendar ch: getChildren()) {
        if (!donech) {
          donech = true;
        } else {
          sb.append(",\n");
        }

        sb.append(ch.getPath());
      }
      sb.append(")");
    }
    */
    ts.append("created", getCreated());
    ts.append("lastmod", getLastmod());
    if (getNumCategories() > 0) {
        ts.append("categories", getCategories());
    }
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 5 with ToString

use of org.bedework.util.misc.ToString in project bw-calendar-engine by Bedework.

the class BwEvent method toString.

@Override
@NoProxy
public String toString() {
    final ToString ts = new ToString(this);
    toStringSegment(ts);
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString) NoProxy(org.bedework.calfacade.annotations.ical.NoProxy) CloneForOverride(org.bedework.calfacade.annotations.CloneForOverride)

Aggregations

ToString (org.bedework.util.misc.ToString)59 CloneForOverride (org.bedework.calfacade.annotations.CloneForOverride)2 BwAlarm (org.bedework.calfacade.BwAlarm)1 NoProxy (org.bedework.calfacade.annotations.ical.NoProxy)1