public class FilterFavoriteSelectTagHandler extends Object implements SelectTagHandler<OnmsFilterFavorite>
Constructor and Description |
---|
FilterFavoriteSelectTagHandler(String nullDescription) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(OnmsFilterFavorite input)
Returns the String which should be put in the element section of the option tag.
|
String |
getValue(OnmsFilterFavorite input)
Returns the String which should be put in the value attribute of the option.
|
boolean |
isSelected(OnmsFilterFavorite currentElement,
OnmsFilterFavorite selectedElement)
Determines if the currentElement is the selectedElement
|
public FilterFavoriteSelectTagHandler(String nullDescription)
public String getValue(OnmsFilterFavorite input)
SelectTagHandler
getValue
in interface SelectTagHandler<OnmsFilterFavorite>
input
- The object to get the value from.public String getDescription(OnmsFilterFavorite input)
SelectTagHandler
getDescription
in interface SelectTagHandler<OnmsFilterFavorite>
public boolean isSelected(OnmsFilterFavorite currentElement, OnmsFilterFavorite selectedElement)
SelectTagHandler
isSelected
in interface SelectTagHandler<OnmsFilterFavorite>
Copyright © 2018. All rights reserved.