public class PropertySearchFieldConfiguration extends java.lang.Object implements SearchFieldConfiguration
SearchFieldConfigurationSearchFieldConfiguration.EntryListModeCONDITION_ENTRIES, ENTRY_LIST_MODE| Constructor and Description |
|---|
PropertySearchFieldConfiguration(PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EditorConditionEntry> |
getConditionEntries() |
java.lang.String |
getEditor() |
SearchFieldConfiguration.EntryListMode |
getEntryListMode() |
java.lang.String |
getName()
Returns the name set for this search field configuration.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
PropertyDescriptor |
getPropertyDescriptor()
Returns this field's property descriptor.
|
DefaultSearchField |
getSearchField()
Returns the
search field associated with this search field configuration. |
boolean |
isSortDisabled()
Returns whether sorting by the corresponding
search field is disabled or not. |
boolean |
isVisible()
Returns whether the corresponding
search field should be visible or not. |
void |
setConditionEntries(java.util.List<EditorConditionEntry> conditionEntries) |
void |
setEditor(java.lang.String editor) |
void |
setEntryListMode(SearchFieldConfiguration.EntryListMode entryListMode) |
void |
setName(java.lang.String name)
Sets the name which the corresponding
search field should be given. |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters) |
void |
setSortDisabled(boolean sortDisabled)
Sets whether the corresponding
search field should allow sorting or not. |
void |
setVisible(boolean visible)
Sets whether the corresponding
search field should be visibility or not. |
public PropertySearchFieldConfiguration(PropertyDescriptor propertyDescriptor)
public java.lang.String getName()
SearchFieldConfigurationgetName in interface SearchFieldConfigurationpublic DefaultSearchField getSearchField()
SearchFieldConfigurationsearch field associated with this search field configuration.getSearchField in interface SearchFieldConfigurationpublic boolean isSortDisabled()
SearchFieldConfigurationsearch field is disabled or not.isSortDisabled in interface SearchFieldConfigurationtrue if sorting is disabled i.e. not allowed, false otherwisepublic boolean isVisible()
SearchFieldConfigurationsearch field should be visible or not.isVisible in interface SearchFieldConfigurationtrue if the corresponding search field should be visible, false otherwisepublic void setName(java.lang.String name)
SearchFieldConfigurationsearch field should be given.setName in interface SearchFieldConfigurationname - the namepublic void setSortDisabled(boolean sortDisabled)
SearchFieldConfigurationsearch field should allow sorting or not.setSortDisabled in interface SearchFieldConfigurationsortDisabled - true means that sorting by the corresponding search field is not
allowed.public void setVisible(boolean visible)
SearchFieldConfigurationsearch field should be visibility or not.setVisible in interface SearchFieldConfigurationvisible - true means visible, whereas false means invisiblepublic PropertyDescriptor getPropertyDescriptor()
SearchFieldConfigurationgetPropertyDescriptor in interface SearchFieldConfigurationpublic java.lang.String getEditor()
getEditor in interface SearchFieldConfigurationpublic void setEditor(java.lang.String editor)
setEditor in interface SearchFieldConfigurationeditor - the editor to setpublic void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
public java.util.Map<java.lang.String,java.lang.String> getParameters()
getParameters in interface SearchFieldConfigurationpublic java.util.List<EditorConditionEntry> getConditionEntries()
getConditionEntries in interface SearchFieldConfigurationpublic SearchFieldConfiguration.EntryListMode getEntryListMode()
getEntryListMode in interface SearchFieldConfigurationpublic void setConditionEntries(java.util.List<EditorConditionEntry> conditionEntries)
public void setEntryListMode(SearchFieldConfiguration.EntryListMode entryListMode)
Copyright © 2018 SAP SE. All Rights Reserved.