public class ItemField extends Object implements Serializable
| Constructor and Description |
|---|
ItemField()
Instantiates a new item field.
|
ItemField(String displayName,
List<String> jsonFields,
boolean displayAsResult,
boolean sortable,
boolean searchable)
Instantiates a new item field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Gets the display name.
|
List<String> |
getJsonFields()
Gets the json fields.
|
boolean |
isDisplayAsResult()
Checks if is display as result.
|
boolean |
isSearchable()
Checks if is searchable.
|
boolean |
isSortable()
Checks if is sortable.
|
void |
setDisplayAsResult(boolean displayAsResult)
Sets the display as result.
|
void |
setDisplayName(String displayName)
Sets the display name.
|
void |
setJsonFields(List<String> jsonFields)
Sets the json fields.
|
void |
setSearchable(boolean searchable)
Sets the searchable.
|
void |
setSortable(boolean sortable)
Sets the sortable.
|
String |
toString()
To string.
|
public ItemField()
public ItemField(String displayName, List<String> jsonFields, boolean displayAsResult, boolean sortable, boolean searchable)
displayName - the display namejsonFields - the json fieldsdisplayAsResult - the display as resultsortable - the sortablesearchable - the searchablepublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the new display namepublic void setJsonFields(List<String> jsonFields)
jsonFields - the new json fieldspublic boolean isSortable()
public void setSortable(boolean sortable)
sortable - the new sortablepublic boolean isSearchable()
public void setSearchable(boolean searchable)
searchable - the new searchablepublic boolean isDisplayAsResult()
public void setDisplayAsResult(boolean displayAsResult)
displayAsResult - the new display as resultCopyright © 2022. All Rights Reserved.