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