public class SearchFieldConfigurationBean extends Object implements SearchFieldConfiguration
SearchFieldConfiguration as JAXB-ready Java-Bean.| Modifier and Type | Class and Description |
|---|---|
static class |
SearchFieldConfigurationBean.XmlAdapterSearchFieldMode |
static class |
SearchFieldConfigurationBean.XmlAdapterSearchFieldType |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
hidden |
private SearchFieldMode |
mode |
private String |
name |
private SearchFieldType |
type |
| Constructor and Description |
|---|
SearchFieldConfigurationBean()
The constructor.
|
SearchFieldConfigurationBean(String name)
The constructor.
|
SearchFieldConfigurationBean(String name,
SearchFieldType type)
The constructor.
|
SearchFieldConfigurationBean(String name,
SearchFieldType type,
SearchFieldMode mode)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SearchFieldMode |
getMode()
|
String |
getName()
This method gets the name of the
field. |
SearchFieldType |
getType()
|
boolean |
isHidden()
This method determines if the represented
field shall be hidden in the view. |
void |
setHidden(boolean hidden) |
void |
setMode(SearchFieldMode mode) |
void |
setName(String name) |
void |
setType(SearchFieldType type) |
private boolean hidden
isHidden()private SearchFieldMode mode
getMode()private SearchFieldType type
getType()public SearchFieldConfigurationBean()
public SearchFieldConfigurationBean(String name)
SearchFieldType.TEXT and
SearchFieldMode.SEARCHABLE_AND_RETRIEVABLE.name - is the name.public SearchFieldConfigurationBean(String name, SearchFieldType type)
SearchFieldMode.SEARCHABLE_AND_RETRIEVABLE.public SearchFieldConfigurationBean(String name, SearchFieldType type, SearchFieldMode mode)
public String getName()
field. It is
used as key to identify the field.getName in interface SearchFieldConfigurationpublic void setName(String name)
name - is the name to setpublic SearchFieldType getType()
getType in interface SearchFieldConfigurationSearchEntry.getField(String, Class)public void setType(SearchFieldType type)
type - is the type to setpublic SearchFieldMode getMode()
getMode in interface SearchFieldConfigurationSearchFieldMode.public void setMode(SearchFieldMode mode)
mode - is the mode to setpublic boolean isHidden()
field shall be hidden in the view. This means it is NOT displayed in the details of a
SearchHit. The default is false.isHidden in interface SearchFieldConfigurationtrue if hidden, false otherwise.public void setHidden(boolean hidden)
hidden - is the hidden to setCopyright © 2001–2016 mmm-Team. All rights reserved.