@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DataTimestamp other = (DataTimestamp) obj;
        if (this.ts != other.ts && (this.ts == null || !this.ts.equals(other.ts))) {
            return false;
        }
        if (this.relation != other.relation) {
            return false;
        }
        if (this.baselineSrcID != other.baselineSrcID) {
            return false;
        }
        if (this.userSrcID != other.userSrcID) {
            return false;
        }
        return true;
    }