private List<NodeRelationship> getNaryRelationship(String relName){
		List<NodeRelationship> nodeRels = new ArrayList<NodeRelationship>();
		for(int i=0; i<relationships.size(); i++){
			NodeRelationship rel = relationships.get(i);
			String table1 = rel.getTable1();
			if(table1.equals(relName)){
				nodeRels.add(rel);
			}
		}
		return nodeRels;
	}