class PdxField implements DataSerializable, Comparable<PdxField> {

  @Override
  public int hashCode() {
    int hash = 1;
    if (fieldName != null) {
      hash = hash * 31 + fieldName.hashCode();
    }
    if (type != null) {
      hash = hash * 31 + type.hashCode();
    }

    return hash;
  }

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

}