public class AlarmHopCriteria extends VertexHopGraphProvider.VertexHopCriteria implements CollapsibleCriteria
Modifier and Type | Class and Description |
---|---|
static class |
AlarmHopCriteria.AlarmVertex |
Criteria.ElementType
Constructor and Description |
---|
AlarmHopCriteria(AlarmSearchProvider.AlarmSearchResult result,
AlarmDao alarmDao) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AlarmDao |
getAlarmDao() |
Vertex |
getCollapsedRepresentation()
This function returns the vertex that will be used to represent the group when the state is
set to collapsed.
|
String |
getNamespace()
This criteria only applies to providers for this namespace
|
AlarmSearchProvider.AlarmSearchResult |
getSearchResult() |
Set<VertexRef> |
getVertices()
Fetch the list of child vertices that should be collapsed
|
int |
hashCode() |
boolean |
isCollapsed()
Check to see whether the Criteria is collapsed or not.
|
void |
setAlarmDao(AlarmDao dao) |
void |
setCollapsed(boolean collapsed)
Set the collapsed state of the criteria.
|
void |
setSearchResult(AlarmSearchProvider.AlarmSearchResult searchResult) |
getId, getLabel, getType, setId, setLabel, toString
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getLabel
public static final String NAMESPACE
public AlarmHopCriteria(AlarmSearchProvider.AlarmSearchResult result, AlarmDao alarmDao)
public AlarmSearchProvider.AlarmSearchResult getSearchResult()
public void setSearchResult(AlarmSearchProvider.AlarmSearchResult searchResult)
public AlarmDao getAlarmDao()
public void setAlarmDao(AlarmDao dao)
public String getNamespace()
Criteria
getNamespace
in interface CollapsibleCriteria
getNamespace
in class Criteria
public Set<VertexRef> getVertices()
CollapsibleCriteria
getVertices
in interface CollapsibleCriteria
getVertices
in class VertexHopGraphProvider.VertexHopCriteria
public boolean isCollapsed()
CollapsibleCriteria
isCollapsed
in interface CollapsibleCriteria
public void setCollapsed(boolean collapsed)
CollapsibleCriteria
setCollapsed
in interface CollapsibleCriteria
collapsed
- Whether the criteria should be collapsed or not.public Vertex getCollapsedRepresentation()
CollapsibleCriteria
getCollapsedRepresentation
in interface CollapsibleCriteria
Copyright © 2016. All rights reserved.