}
Collection<Relation> relaciones = (Collection<Relation>) result.get(ParamsConst.DATA);
Iterator<Relation> itRelaciones = relaciones.iterator();
while (itRelaciones.hasNext()) {
Relation relation = (Relation) itRelaciones.next();
if (relation instanceof RelationWithActionCreateTask) {
RelationWithActionCreateTask create = (RelationWithActionCreateTask) relation;
create.setTarea(null);
}
if (relation instanceof RelationWithModifyStateTask) {
RelationWithModifyStateTask modify = (RelationWithModifyStateTask) relation;
Collection tareas = modify.getTareas();
if (tareas!=null){
Iterator<Tarea> itTareas = tareas.iterator();
while (itTareas.hasNext()) {
Tarea tarea = (Tarea) itTareas.next();
//tarea.set
}
}
//modify.setTareas(null);
}
Collection visibles = relation.getVisibles();
if (visibles!=null){
Iterator<VisibleRelation> itVisibles = visibles.iterator();
while (itVisibles.hasNext()) {
VisibleRelation visibleRelation = (VisibleRelation) itVisibles.next();
visibleRelation.setRelation(null);