public class BaseSearchInputField extends Object implements SearchInputField
| Constructor and Description |
|---|
BaseSearchInputField(SearchInputField field)
Create a copy of the field.
|
BaseSearchInputField(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValues(Collection<? extends Object> values)
Add values to this field.
|
void |
addValues(Object... values)
Add values to this field.
|
boolean |
equals(Object obj) |
float |
getBoost() |
Object |
getFirstValue()
May return null.
|
String |
getName() |
Collection<Object> |
getValues()
May return an empty collection, but never null.
|
int |
hashCode() |
void |
setBoost(float boost)
Set the boost level for this field.
|
String |
toString() |
public BaseSearchInputField(String name)
public BaseSearchInputField(SearchInputField field)
public void addValues(Object... values)
SearchInputFieldaddValues in interface SearchInputFieldpublic void addValues(Collection<? extends Object> values)
SearchInputFieldaddValues in interface SearchInputFieldpublic void setBoost(float boost)
SearchInputFieldsetBoost in interface SearchInputFieldpublic String getName()
getName in interface SearchInputFieldpublic float getBoost()
getBoost in interface SearchInputFieldpublic Collection<Object> getValues()
SearchInputFieldgetValues in interface SearchInputFieldpublic Object getFirstValue()
SearchInputFieldgetFirstValue in interface SearchInputFieldCopyright © 2022. All rights reserved.