Package openGql.grammar
Class OfGraphType.Reference
- java.lang.Object
-
- openGql.grammar.OfGraphType
-
- openGql.grammar.OfGraphType.Reference
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OfGraphType>
- Enclosing class:
- OfGraphType
public static final class OfGraphType.Reference extends OfGraphType implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.OfGraphType
OfGraphType.LikeGraph, OfGraphType.Nested, OfGraphType.PartialVisitor<R>, OfGraphType.Reference, OfGraphType.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description TypedGraphTypeReferencevalue-
Fields inherited from class openGql.grammar.OfGraphType
LIKE_GRAPH, NESTED, REFERENCE, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Reference(TypedGraphTypeReference value)Constructs an immutableOfGraphType.Reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(OfGraphType.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(OfGraphType other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final TypedGraphTypeReference value
-
-
Constructor Detail
-
Reference
public Reference(TypedGraphTypeReference value)
Constructs an immutableOfGraphType.Reference.
-
-
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(OfGraphType other)
- Specified by:
compareToin interfacejava.lang.Comparable<OfGraphType>
-
accept
public <R> R accept(OfGraphType.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classOfGraphType
-
-