@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final State other = (State) obj;
        if (this.bs != other.bs && (this.bs == null || !this.bs.equals(other.bs))) {
            return false;
        }
        return true;
    }