public boolean equals()

in aws-blog-hbase-on-emr/hbase-connector/src/main/java/com/amazonaws/hbase/kinesis/KinesisMessageModel.java [510:604]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (!(obj instanceof KinesisMessageModel)) {
            return false;
        }
        KinesisMessageModel other = (KinesisMessageModel) obj;
        if (city == null) {
            if (other.city != null) {
                return false;
            }
        } else if (!city.equals(other.city)) {
            return false;
        }
        if (email == null) {
            if (other.email != null) {
                return false;
            }
        } else if (!email.equals(other.email)) {
            return false;
        }
        if (firstname == null) {
            if (other.firstname != null) {
                return false;
            }
        } else if (!firstname.equals(other.firstname)) {
            return false;
        }
        if (lastname == null) {
            if (other.lastname != null) {
                return false;
            }
        } else if (!lastname.equals(other.lastname)) {
            return false;
        }
        if (likebroadway != other.likebroadway) {
            return false;
        }
        if (likeclassical != other.likeclassical) {
            return false;
        }
        if (likeconcerts != other.likeconcerts) {
            return false;
        }
        if (likejazz != other.likejazz) {
            return false;
        }
        if (likemusicals != other.likemusicals) {
            return false;
        }
        if (likeopera != other.likeopera) {
            return false;
        }
        if (likerock != other.likerock) {
            return false;
        }
        if (likesports != other.likesports) {
            return false;
        }
        if (liketheatre != other.liketheatre) {
            return false;
        }
        if (likevegas != other.likevegas) {
            return false;
        }
        if (phone == null) {
            if (other.phone != null) {
                return false;
            }
        } else if (!phone.equals(other.phone)) {
            return false;
        }
        if (state == null) {
            if (other.state != null) {
                return false;
            }
        } else if (!state.equals(other.state)) {
            return false;
        }
        if (userid != other.userid) {
            return false;
        }
        if (username == null) {
            if (other.username != null) {
                return false;
            }
        } else if (!username.equals(other.username)) {
            return false;
        }
        return true;
    }