@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Genre other = (Genre) obj;
        if (myName == null) {
            if (other.myName != null)
                return false;
        } else if (!myName.equals(other.myName))
            return false;
        if (myChildren == null) {
            if (other.myChildren != null)
                return false;
        } else if (!myChildren.equals(other.myChildren))
            return false;

        return true;
    }