org.hypergraphdb.atom
Class HGSubsumes
java.lang.Object
org.hypergraphdb.HGPlainLink
org.hypergraphdb.atom.HGSubsumes
- All Implemented Interfaces:
- java.lang.Iterable<HGHandle>, HGLink
public class HGSubsumes
- extends HGPlainLink
The HGSubsumes link represents a subsumes relationship between
two atoms, either declared, or inferred by HyperGraph. Generally, such a relationship
will exist between type atoms (i.e. instance of HGAtomType). One can
explicitely create such a link, for instance to declare a subtyping relationship
between types. HyperGraph is also allowed to create such links as part of query
processing or other activities.
- Author:
- Borislav Iordanov
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HGSubsumes
public HGSubsumes(HGHandle[] link)
HGSubsumes
public HGSubsumes(HGHandle general,
HGHandle specific)
getGeneral
public HGHandle getGeneral()
getSpecific
public HGHandle getSpecific()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object