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 Description booleandeletedProperty()IndexableFieldTypegetFieldType()StringgetName()Class<? extends IndexableField>getType()Class<? extends IndexableField>getTypeProperty()StringgetValue()booleanisDeleted()booleanisStored()static NewFieldnewInstance()voidresetFieldType(Class<?> type)voidsetDeleted(boolean value)voidsetName(String name)voidsetStored(boolean stored)voidsetType(Class<? extends IndexableField> type)voidsetValue(String value)
-
-
-
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)
-
-