void dump(PrintWriter out) { out.print("    "); out.print(m_prop.getName()); out.print(" = "); out.println(m_value); if (m_prop.isCollection()) { boolean first = true; for (Iterator it = getSession().getEventStream(). getCurrentEvents(getObject(), getProperty()).iterator(); it.hasNext(); ) { if (first) { first = false; out.println("    Current Property Events:"); } ((Event) it.next()).dump(out); } } else { Event ev = getSession().getEventStream().getLastEvent (getObject(), getProperty()); if (ev != null) { out.println("    Current Property Events:"); ev.dump(out); } }
void dump() { PrintWriter pw = new PrintWriter(System.out); dump(pw); pw.flush();
    void dump(PrintWriter out) {        out.print("    ");        out.print(m_prop.getName());        out.print(" = ");        out.println(m_value);        if (m_prop.isCollection()) {	    boolean first = true;            for (Iterator it = getSession().getEventStream().                     getCurrentEvents(getObject(), getProperty()).iterator();                 it.hasNext(); ) {		if (first) {		    first = false;		    out.println("    Current Property Events:");		}                ((Event) it.next()).dump(out);            }        } else {            Event ev = getSession().getEventStream().getLastEvent                (getObject(), getProperty());            if (ev != null) {		out.println("    Current Property Events:");		ev.dump(out);	    }        }    }