org.apache.lucene.luke.app.desktop.dto.documents

## Class NewField

- java.lang.Object
- - org.apache.lucene.luke.app.desktop.dto.documents.NewField

-     public final class NewField
      extends Object

  Data holder for a new field. This is used in the add document dialog.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `deletedProperty()`
    `IndexableFieldType` | `getFieldType()`
    `String` | `getName()`
    `Class<? extends IndexableField>` | `getType()`
    `Class<? extends IndexableField>` | `getTypeProperty()`
    `String` | `getValue()`
    `boolean` | `isDeleted()`
    `boolean` | `isStored()`
    `static NewField` | `newInstance()`
    `void` | `resetFieldType(Class<?> type)`
    `void` | `setDeleted(boolean value)`
    `void` | `setName(String name)`
    `void` | `setStored(boolean stored)`
    `void` | `setType(Class<? extends IndexableField> type)`
    `void` | `setValue(String value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### newInstance

          public static NewField newInstance()

    - #### isDeleted

          public boolean isDeleted()

    - #### deletedProperty

          public boolean deletedProperty()

    - #### setDeleted

          public void setDeleted(boolean value)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getTypeProperty

          public Class<? extends IndexableField> getTypeProperty()

    - #### getType

          public Class<? extends IndexableField> getType()

    - #### setType

          public void setType(Class<? extends IndexableField> type)

    - #### resetFieldType

          public void resetFieldType(Class<?> type)

    - #### getFieldType

          public IndexableFieldType getFieldType()

    - #### isStored

          public boolean isStored()

    - #### setStored

          public void setStored(boolean stored)

    - #### getValue

          public String getValue()

    - #### setValue

          public void setValue(String value)

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.