@Override public final boolean equals(Object o) { if (!(o instanceof Definition)) return false; Definition other = (Definition) o; return keyspace.equals(other.keyspace) && table.equals(other.table) && name.equals(other.name) && type.equals(other.type); }