private List<NodeRelationship> getNodeRelationship(ORASSNode node1, ORASSNode node2){
		List<NodeRelationship> nodeRels = new ArrayList<NodeRelationship>();
		String table1 = node1.getName();
		String table2 = node2.getName();
		//logger.info("get relationship between " + table1 + " and "+table2);
		if(node1.hasRelation(node2)){
			String relName = node1.getRelation(node2);
			for(int i= 0; i<relationships.size(); i++){
				NodeRelationship nodeRel = relationships.get(i);
				String relTable1 = nodeRel.getTable1();
				if(relTable1.equals(relName)){
					String relTable2 = nodeRel.getTable2();
					if(relTable2.equals(table1) || relTable2.equals(table2)){
						nodeRels.add(nodeRel);
					}
				}
			}
		}else{
			for(int i=0; i<relationships.size(); i++){
				NodeRelationship nodeRel = relationships.get(i);
				String relTable1 = nodeRel.getTable1();
				if(relTable1.equals(table1)){
					String relTable2 = nodeRel.getTable2();
					if(relTable2.equals(table2)){
						nodeRels.add(nodeRel);
					}
				}
			}
		}
		return nodeRels;
	}