package org.mskcc.cbio.oncokb.apiModels;

/**
 * Created by Hongxin Zhang on 2/13/18.
 */
public class MatchVariant implements java.io.Serializable {
    String hugoSymbol;
    String alteration;

    public String getHugoSymbol() {
        return hugoSymbol;
    }

    public void setHugoSymbol(String hugoSymbol) {
        this.hugoSymbol = hugoSymbol;
    }

    public String getAlteration() {
        return alteration;
    }

    public void setAlteration(String alteration) {
        this.alteration = alteration;
    }
}

@@ -520,11 +520,712 @@
 n;%0A    %7D
+%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (!(o instanceof MatchVariant)) return false;%0A%0A        MatchVariant that = (MatchVariant) o;%0A%0A        if (getHugoSymbol() != null ? !getHugoSymbol().equals(that.getHugoSymbol()) : that.getHugoSymbol() != null)%0A            return false;%0A        return getAlteration() != null ? getAlteration().equals(that.getAlteration()) : that.getAlteration() == null;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = getHugoSymbol() != null ? getHugoSymbol().hashCode() : 0;%0A        result = 31 * result + (getAlteration() != null ? getAlteration().hashCode() : 0);%0A        return result;%0A    %7D
 %0A%7D%0A

Add equals and hashCode methods for MatchVariant