class PdxField implements DataSerializable, Comparable<PdxField> {

  public void toStream(PrintStream printStream) {
    printStream.print("    ");
    printStream.print(getFieldType());
    printStream.print(' ');
    printStream.print(this.getFieldName());
    printStream.print(';');
    if (isIdentityField()) {
      printStream.print(" // identity");
    }
    if (isDeleted()) {
      printStream.print(" // DELETED");
    }

    printStream.println();
  }

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

}