Search in sources :

Example 51 with ToString

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

the class Response method toString.

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

Example 52 with ToString

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

the class ChangeTable method toString.

/* ====================================================================
                      Object methods
     ==================================================================== */
@Override
public String toString() {
    ToString ts = new ToString(this);
    for (ChangeTableEntry ent : map.values()) {
        if (!ent.getPresent()) {
            continue;
        }
        ts.newLine();
        ts.append(ent);
    }
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 53 with ToString

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

the class CollectionPref method toString.

public String toString() {
    final ToString ts = new ToString(this);
    ts.append("autoAdd", getAutoAdd());
    ts.append("preferred", getPreferred());
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 54 with ToString

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

the class BwView method toString.

@Override
public String toString() {
    ToString ts = new ToString(this);
    toStringSegment(ts);
    ts.append("name", getName());
    ts.append("collections", getCollectionPaths());
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString)

Example 55 with ToString

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

the class EventInfo method toString.

@Override
public String toString() {
    ToString ts = new ToString(this);
    if (getEvent() == null) {
        ts.append("eventId", (Integer) null);
    } else {
        ts.append("eventId", getEvent().getId());
    }
    ts.append("editable", getEditable());
    ts.append("kind", kindStr[getKind()]);
    if (getAlarms() != null) {
        for (BwAlarm alarm : getAlarms()) {
            ts.append("alarm", alarm.toString());
        }
    }
    ts.append("recurrenceId", getEvent().getRecurrenceId());
    return ts.toString();
}
Also used : ToString(org.bedework.util.misc.ToString) BwAlarm(org.bedework.calfacade.BwAlarm)

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