Class SearchResult
- java.lang.Object
-
- org.opennms.features.topology.api.topo.SearchResult
-
- Direct Known Subclasses:
AlarmSearchProvider.AlarmSearchResult
public class SearchResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
COLLAPSED
static boolean
COLLAPSIBLE
-
Constructor Summary
Constructors Constructor Description SearchResult()
SearchResult(String namespace, String id, String label, String query, boolean collapsible, boolean collapsed)
SearchResult(SearchCriteria criteria)
SearchResult(VertexRef vertexRef, boolean collapsible, boolean collapsed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getId()
String
getLabel()
String
getNamespace()
String
getQuery()
int
hashCode()
boolean
isCollapsed()
boolean
isCollapsible()
void
setCollapsed(boolean collapsed)
void
setCollapsible(boolean collapsible)
String
toString()
-
-
-
Field Detail
-
COLLAPSIBLE
public static final boolean COLLAPSIBLE
- See Also:
- Constant Field Values
-
COLLAPSED
public static final boolean COLLAPSED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchResult
public SearchResult()
-
SearchResult
public SearchResult(String namespace, String id, String label, String query, boolean collapsible, boolean collapsed)
-
SearchResult
public SearchResult(VertexRef vertexRef, boolean collapsible, boolean collapsed)
-
SearchResult
public SearchResult(SearchCriteria criteria)
-
-
Method Detail
-
getId
public final String getId()
-
getNamespace
public final String getNamespace()
-
getLabel
public final String getLabel()
-
getQuery
public final String getQuery()
-
isCollapsible
public final boolean isCollapsible()
-
setCollapsible
public final void setCollapsible(boolean collapsible)
-
isCollapsed
public final boolean isCollapsed()
-
setCollapsed
public final void setCollapsed(boolean collapsed)
-
-