public List<Column> getColumnByForeignKey(String catalog, String schema, String name)
	{
		List<Column> cols = new ArrayList<Column>();
		Column col = null;
		
		for(int i = 0; i < referentialConstraints.size(); i ++)
		{
			ReferentialConstraints r = referentialConstraints.get(i);
			if(r.getUnique_Constraint_schema().equals(schema) && r.getUnique_Constraint_name().equals(name) && r.getUnique_Constraint_catalog().equals(catalog))
			{
				List<Constraint> cs = new ArrayList<Constraint>();
				
				for(Constraint c : constraintNames)
				{
					if(c.getConstraint_catalog().equals(r.getConstraint_catalog()) && c.getConstraint_schema().equals(r.getConstraint_schema()) && c.getConstraint_name().equals(r.getConstraint_name()))
					{
						cs.add(c);
					}	
				}	
				
				for(Constraint c : cs)
				{
					col = new Column();
					col.setCatalogName(c.getTable_catalog());
					col.setSchemaName(c.getTable_schema());
					col.setTableName(c.getTable_name());
					col.setColumnName(c.getColumn_name());
					cols.add(col);
				}	
			}	
		}
		
		return cols;
	}