Package openGql.grammar
Class ElementTypeSpecification.EdgeType
- java.lang.Object
-
- openGql.grammar.ElementTypeSpecification
-
- openGql.grammar.ElementTypeSpecification.EdgeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ElementTypeSpecification>
- Enclosing class:
- ElementTypeSpecification
public static final class ElementTypeSpecification.EdgeType extends ElementTypeSpecification implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.ElementTypeSpecification
ElementTypeSpecification.EdgeType, ElementTypeSpecification.NodeType, ElementTypeSpecification.PartialVisitor<R>, ElementTypeSpecification.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description EdgeTypeSpecificationvalue-
Fields inherited from class openGql.grammar.ElementTypeSpecification
EDGE_TYPE, NODE_TYPE, TYPE_
-
-
Constructor Summary
Constructors Constructor Description EdgeType(EdgeTypeSpecification value)Constructs an immutableElementTypeSpecification.EdgeType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(ElementTypeSpecification.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(ElementTypeSpecification other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final EdgeTypeSpecification value
-
-
Constructor Detail
-
EdgeType
public EdgeType(EdgeTypeSpecification value)
Constructs an immutableElementTypeSpecification.EdgeType.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ElementTypeSpecification other)
- Specified by:
compareToin interfacejava.lang.Comparable<ElementTypeSpecification>
-
accept
public <R> R accept(ElementTypeSpecification.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classElementTypeSpecification
-
-