public String toFormattedString() {
    StringBuilder sb = new StringBuilder("PdxType[");
    sb.append("dsid=").append(getDSId());
    sb.append(", typenum=").append(getTypeNum());
    sb.append("\n        name=").append(className);
    sb.append("\n        fields=[");
    for (PdxField vft : fields) {
      sb.append("\n        ");
      sb.append(/* vft.getFieldName() + ":" + vft.getTypeId() */ vft.toString());
    }
    sb.append("]]");
    return sb.toString();
  }
Return true if two pdx types have same class name and the same fields but, unlike equals, field
order does not matter. Note a type that expects a domain class can be compatible with one that
does not expect a domain class.

@param other the other pdx type
@return true if two pdx types are compatible.
geode-core/src/main/java/org/apache/geode/pdx/internal/PdxType.java