public class WrappedVertexHopCriteria extends VertexHopCriteria
VertexHopCriteria
.
There may be multiple VertexHopCriteria
objects available.
However in the end it is easier to use this criteria object to wrap all available VertexHopCriteria
instead of iterating over all all the time and determine all vertices.Criteria.ElementType
Constructor and Description |
---|
WrappedVertexHopCriteria(Set<VertexHopCriteria> vertexHopCriterias) |
Modifier and Type | Method and Description |
---|---|
void |
addCriteria(VertexHopCriteria criteria) |
boolean |
contains(VertexRef vertexRef) |
boolean |
equals(Object obj) |
String |
getNamespace()
This criteria only applies to providers for this namespace
|
Set<VertexRef> |
getVertices() |
int |
hashCode() |
getId, getLabel, getType, isEmpty, setId, setLabel, toString
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
public WrappedVertexHopCriteria(Set<VertexHopCriteria> vertexHopCriterias)
public void addCriteria(VertexHopCriteria criteria)
public Set<VertexRef> getVertices()
getVertices
in class VertexHopCriteria
public String getNamespace()
Criteria
getNamespace
in class Criteria
public boolean contains(VertexRef vertexRef)
Copyright © 2020. All rights reserved.