public class TypePlusCondition extends Object implements HGQueryCondition, HGAtomPredicate
Constructor and Description |
---|
TypePlusCondition() |
TypePlusCondition(Class<?> clazz) |
TypePlusCondition(HGHandle baseType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object x) |
HGHandle |
getBaseType() |
Class<?> |
getJavaClass() |
List<HGHandle> |
getSubTypes(HyperGraph graph) |
int |
hashCode() |
boolean |
satisfies(HyperGraph graph,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
void |
setBaseType(HGHandle baseType) |
void |
setJavaClass(Class<?> javaClass) |
String |
toString() |
public TypePlusCondition()
public TypePlusCondition(HGHandle baseType)
public TypePlusCondition(Class<?> clazz)
public boolean satisfies(HyperGraph graph, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
satisfies
in interface HGAtomPredicate
graph
- The HyperGraph
instance.handle
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.public void setBaseType(HGHandle baseType)
public HGHandle getBaseType()
public void setJavaClass(Class<?> javaClass)
public Class<?> getJavaClass()
public List<HGHandle> getSubTypes(HyperGraph graph)
Copyright © 2015. All rights reserved.