public class TargetCondition extends Object implements HGQueryCondition, HGAtomPredicate
A query condition that constraints the result set to atoms that are targets to a specific link.
| Constructor and Description | 
|---|
TargetCondition()  | 
TargetCondition(HGHandle link)  | 
TargetCondition(Ref<HGHandle> link)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object x)  | 
HGHandle | 
getLink()  | 
Ref<HGHandle> | 
getLinkReference()  | 
int | 
hashCode()  | 
boolean | 
satisfies(HyperGraph graph,
         HGHandle handle)
Check whether a given  
Object satisfies this
 query condition. | 
void | 
setLink(HGHandle link)  | 
void | 
setLinkReference(Ref<HGHandle> link)  | 
public TargetCondition()
public TargetCondition(HGHandle link)
public HGHandle getLink()
public void setLink(HGHandle link)
public boolean satisfies(HyperGraph graph, HGHandle handle)
HGAtomPredicateCheck whether a given Object satisfies this
 query condition.
satisfies in interface HGAtomPredicategraph - 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.Copyright © 2015. All rights reserved.