Table implements Comparable<Table> { public Field getField(String fldName) { return fields.get(fldName.toLowerCase()); } Table(final DBSchema schema, final String name);  Table(final DBSchema schema, final DBTableInfo tableInfo);  Table(final String name, final Table toCopy); @Override boolean equals(Object tableObj); int compareTo(Table tbl); final Collection<Field> getFields(); final String getName(); final Vector<Relationship> getRelationships(); void addField(final Field field); Field getField(String fldName); Field getKey(); final DBTableInfo getTableInfo(); final DBSchema getSchema();  }
@Test public void testGetField() { Field got = testtable.getField("taxonName"); assertTrue(got.getName().equals("taxonName")); }