for (Iterator iterator = new ArrayList(sched).iterator(); iterator.hasNext();) { Relationship r = (Relationship) iterator.next(); if (logger.isDebugEnabled()) { logger.debug(r.getRoleA() + ", " + r.getRoleB() + ", start: " + r.getStartTime() + ", end: " + r.getEndTime()); } } }
    public static void printRelationshipSchedule(Organization myOrg) {	RelationshipSchedule sched = myOrg.getRelationshipSchedule();	GLMDebug.DEBUG("AssetUtils",null,"____________________________________________________________");	for(Iterator iterator = new ArrayList(sched).iterator();            iterator.hasNext();) {	    Relationship r = (Relationship)iterator.next();	    GLMDebug.DEBUG("AssetUtils",null,                           r.getRoleA()+", "+r.getRoleB()+                           ", start: "+r.getStartTime()+                           ", end: "+			   r.getEndTime());	}    }