}
Collection visibles = relation.getVisibles();
if (visibles!=null){
Iterator<VisibleRelation> itVisibles = visibles.iterator();
while (itVisibles.hasNext()) {
VisibleRelation visibleRelation = (VisibleRelation) itVisibles.next();
visibleRelation.setRelation(null);
}
}
}