@PublicApi public interface GraphQLSchemaElement
Modifier and Type | Method and Description |
---|---|
TraversalControl |
accept(TraverserContext<GraphQLSchemaElement> context,
GraphQLTypeVisitor visitor) |
GraphQLSchemaElement |
copy()
Each GraphQLSchemaElement should make a copy of itself when this is called.
|
boolean |
equals(java.lang.Object obj)
No GraphQLSchemaElement implements `equals` because we need object identity
to treat a GraphQLSchema as an abstract graph.
|
default java.util.List<GraphQLSchemaElement> |
getChildren() |
default SchemaElementChildrenContainer |
getChildrenWithTypeReferences() |
int |
hashCode()
No GraphQLSchemaElement implements `equals/hashCode` because we need object identity
to treat a GraphQLSchema as an abstract graph.
|
default GraphQLSchemaElement |
withNewChildren(SchemaElementChildrenContainer newChildren) |
default java.util.List<GraphQLSchemaElement> getChildren()
default SchemaElementChildrenContainer getChildrenWithTypeReferences()
default GraphQLSchemaElement withNewChildren(SchemaElementChildrenContainer newChildren)
TraversalControl accept(TraverserContext<GraphQLSchemaElement> context, GraphQLTypeVisitor visitor)
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.int hashCode()
hashCode
in class java.lang.Object
GraphQLSchemaElement copy()