@Override
    public int hashCode() {
        int result = string != null ? string.hashCode() : 0;
        result = 31 * result + (language != null ? language.hashCode() : 0);
        result = 31 * result + (altrep != null ? altrep.hashCode() : 0);
        return result;
    }