write the relationships descriptor class to a DOM tree and return it
Node relationshipsNode = super.writeDescriptor(parent, nodeName, descriptor);
appendTextChild(relationshipsNode, EjbTagNames.DESCRIPTION, descriptor.getRelationshipsDescription());
EjbRelationNode subNode = new EjbRelationNode();
for (Iterator e=descriptor.getRelationships().iterator();e.hasNext();) {
RelationshipDescriptor rd = (RelationshipDescriptor) e.next();
subNode.writeDescriptor(relationshipsNode, EjbTagNames.EJB_RELATION, rd);
}
return relationshipsNode;