Class SearchResult
- java.lang.Object
-
- org.opennms.features.topology.api.topo.SearchResult
-
- Direct Known Subclasses:
AlarmSearchProvider.AlarmSearchResult
public class SearchResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
COLLAPSED
static boolean
COLLAPSIBLE
-
Constructor Summary
Constructors Constructor Description SearchResult()
SearchResult(java.lang.String namespace, java.lang.String id, java.lang.String label, java.lang.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(java.lang.Object obj)
java.lang.String
getId()
java.lang.String
getLabel()
java.lang.String
getNamespace()
java.lang.String
getQuery()
int
hashCode()
boolean
isCollapsed()
boolean
isCollapsible()
void
setCollapsed(boolean collapsed)
void
setCollapsible(boolean collapsible)
java.lang.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(java.lang.String namespace, java.lang.String id, java.lang.String label, java.lang.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 java.lang.String getId()
-
getNamespace
public final java.lang.String getNamespace()
-
getLabel
public final java.lang.String getLabel()
-
getQuery
public final java.lang.String getQuery()
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isCollapsible
public final boolean isCollapsible()
-
setCollapsible
public final void setCollapsible(boolean collapsible)
-
isCollapsed
public final boolean isCollapsed()
-
setCollapsed
public final void setCollapsed(boolean collapsed)
-
-