Class SearchItemDefinition
- java.lang.Object
-
- com.evolveum.midpoint.web.component.search.SearchItemDefinition
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
,Comparable<SearchItemDefinition>
public class SearchItemDefinition extends Object implements Serializable, Comparable<SearchItemDefinition>, DebugDumpable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_HELP
static String
F_NAME
static String
F_SELECTED
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SearchItemDefinition(ItemPath path, ItemDefinition def, List allowedValues)
SearchItemDefinition(SearchItemType predefinedFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SearchItemDefinition o)
String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
boolean
equals(Object o)
List
getAllowedValues()
ItemDefinition
getDef()
PolyStringType
getDisplayName()
String
getHelp()
String
getName()
ItemPath
getPath()
SearchItemType
getPredefinedFilter()
int
hashCode()
boolean
isSelected()
boolean
isVisibleByDefault()
void
setDisplayName(PolyStringType displayName)
void
setPredefinedFilter(SearchItemType predefinedFilter)
void
setSelected(boolean selected)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
F_SELECTED
public static final String F_SELECTED
- See Also:
- Constant Field Values
-
F_NAME
public static final String F_NAME
- See Also:
- Constant Field Values
-
F_HELP
public static final String F_HELP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchItemDefinition
public SearchItemDefinition(ItemPath path, ItemDefinition def, List allowedValues)
-
SearchItemDefinition
public SearchItemDefinition(SearchItemType predefinedFilter)
-
-
Method Detail
-
getPath
public ItemPath getPath()
-
getDef
public ItemDefinition getDef()
-
getAllowedValues
public List getAllowedValues()
-
getPredefinedFilter
public SearchItemType getPredefinedFilter()
-
setPredefinedFilter
public void setPredefinedFilter(SearchItemType predefinedFilter)
-
getDisplayName
public PolyStringType getDisplayName()
-
setDisplayName
public void setDisplayName(PolyStringType displayName)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
isVisibleByDefault
public boolean isVisibleByDefault()
-
getName
public String getName()
-
compareTo
public int compareTo(SearchItemDefinition o)
- Specified by:
compareTo
in interfaceComparable<SearchItemDefinition>
-
getHelp
public String getHelp()
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-