Package hydra.accessors
Class AccessorEdge
java.lang.Object
hydra.accessors.AccessorEdge
- All Implemented Interfaces:
Serializable,Comparable<AccessorEdge>
An edge in an accessor graph, connecting two nodes via a path
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AccessorPathThe accessor path connecting source to targetstatic final Namefinal AccessorNodeThe source node of the edgestatic final Namefinal AccessorNodeThe target node of the edgestatic final Namestatic final Name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(AccessorEdge other) booleaninthashCode()withPath(AccessorPath path) withSource(AccessorNode source) withTarget(AccessorNode target)
-
Field Details
-
TYPE_
-
SOURCE
-
PATH
-
TARGET
-
source
The source node of the edge -
path
The accessor path connecting source to target -
target
The target node of the edge
-
-
Constructor Details
-
AccessorEdge
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AccessorEdge>
-
withSource
-
withPath
-
withTarget
-