@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    FacetState state = (FacetState)o;
    return Objects.equals(myFacetType, state.myFacetType) &&
           Objects.equals(myName, state.myName) &&
           Objects.equals(myExternalSystemId, state.myExternalSystemId) &&
           JDOMUtil.areElementsEqual(myConfiguration, state.myConfiguration) &&
           Objects.equals(subFacets, state.subFacets);
  }
@Override
  public boolean equals(Object o)