public class CategoryHopCriteria extends VertexHopGraphProvider.VertexHopCriteria implements CollapsibleCriteria
Modifier and Type | Class and Description |
---|---|
static class |
CategoryHopCriteria.CategoryVertex |
Criteria.ElementType
Constructor and Description |
---|
CategoryHopCriteria(String categoryName) |
CategoryHopCriteria(String categoryName,
NodeDao nodeDao,
CategoryDao categoryDao) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CategoryDao |
getCategoryDao() |
String |
getCategoryName() |
Vertex |
getCollapsedRepresentation()
This function returns the vertex that will be used to represent the group when the state is
set to collapsed.
|
String |
getNamespace()
TODO: This return value doesn't matter since we just delegate
to the m_delegate provider.
|
NodeDao |
getNodeDao() |
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 |
setCategoryDao(CategoryDao categoryDao) |
void |
setCollapsed(boolean collapsed)
Set the collapsed state of the criteria.
|
void |
setNodeDao(NodeDao nodeDao) |
getId, getLabel, getType, setId, setLabel, toString
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getLabel
public CategoryHopCriteria(String categoryName)
public CategoryHopCriteria(String categoryName, NodeDao nodeDao, CategoryDao categoryDao)
public CategoryDao getCategoryDao()
public void setCategoryDao(CategoryDao categoryDao)
public NodeDao getNodeDao()
public void setNodeDao(NodeDao nodeDao)
public String getNamespace()
getNamespace
in interface CollapsibleCriteria
getNamespace
in class Criteria
public String getCategoryName()
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.