TempColumnIdentifier implements ColumnIdentifier<String> { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ColumnIdentifier)) return false; final ColumnIdentifier<?> that = (ColumnIdentifier<?>) o; return dbms.equals(that.getDbmsId()) && schema.equals(that.getSchemaId()) && table.equals(that.getTableId()) && column.equals(that.getColumnId()); } TempColumnIdentifier(
        final String dbms,
        final String schema,
        final String table,
        final String column
    ); @Override String getDbmsId(); @Override String getTableId(); @Override String getColumnId(); @Override String getSchemaId(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test void testEquals() { final TempColumnIdentifier other = new TempColumnIdentifier(DB, SCHEMA, TABLE, COLUMN + "X"); assertEquals(INSTANCE, INSTANCE); assertFalse(INSTANCE.equals(null)); assertFalse(INSTANCE.equals(1)); assertNotEquals(INSTANCE, other); assertNotEquals(other, INSTANCE); }