Package hydra.paths
Class SubtypeLink
- java.lang.Object
-
- hydra.paths.SubtypeLink
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubtypeLink>
- Direct Known Subclasses:
SubtypeLink.Attribute,SubtypeLink.Edge,SubtypeLink.Property
public abstract class SubtypeLink extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SubtypeLink>
An outgoing link of a subtype node: an edge, a property, or an attribute- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubtypeLink.AttributeA non-type attribute of a positionstatic classSubtypeLink.EdgeA reference to a named typestatic interfaceSubtypeLink.PartialVisitor<R>Partial visitor overSubtypeLinkwith a defaultSubtypeLink.PartialVisitor.otherwise(hydra.paths.SubtypeLink)branch.static classSubtypeLink.PropertyA leaf typestatic interfaceSubtypeLink.Visitor<R>Visitor overSubtypeLink.
-
Field Summary
Fields Modifier and Type Field Description static NameATTRIBUTEName of thehydra.paths.SubtypeLink.attributefield.static NameEDGEName of thehydra.paths.SubtypeLink.edgefield.static NamePROPERTYName of thehydra.paths.SubtypeLink.propertyfield.static NameTYPE_Name of thehydra.paths.SubtypeLinktype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(SubtypeLink.Visitor<R> visitor)Dispatch tovisitor.abstract inthydraOrdinal()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.paths.SubtypeLinktype.
-
EDGE
public static final Name EDGE
Name of thehydra.paths.SubtypeLink.edgefield.
-
PROPERTY
public static final Name PROPERTY
Name of thehydra.paths.SubtypeLink.propertyfield.
-
ATTRIBUTE
public static final Name ATTRIBUTE
Name of thehydra.paths.SubtypeLink.attributefield.
-
-
Method Detail
-
accept
public abstract <R> R accept(SubtypeLink.Visitor<R> visitor)
Dispatch tovisitor.
-
hydraOrdinal
public abstract int hydraOrdinal()
-
-