class PdxField implements DataSerializable, Comparable<PdxField> {

  @Override
  public boolean equals(Object other) {
    if (other == this) {
      return true;
    }
    if (!(other instanceof PdxField)) {
      return false;
    }
    PdxField otherVFT = (PdxField) other;

    if (otherVFT.fieldName == null) {
      return false;
    }

    if (otherVFT.fieldName.equals(this.fieldName) && this.isDeleted() == otherVFT.isDeleted()
        && this.type.equals(otherVFT.type)) {
      return true;
    }
    return false;
  }

  public  PdxField();
  public  PdxField(String fieldName, int index, int varId, FieldType type, boolean identityField);
  protected  PdxField(PdxField other);

}