@Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }

        if (obj instanceof Room) {
            Room room = (Room)obj;

            if (this.id != room.id) {
                if (this.id == null || !this.id.equals(room.id)) {
                    return false;
                }
            }

            return true;
        }

        return false;
    }