@PublicApi public interface GraphQLNamedSchemaElement extends GraphQLSchemaElement
Modifier and Type | Method and Description |
---|---|
@Nullable Node |
getDefinition()
The AST
Node this schema element is based on. |
@Nullable java.lang.String |
getDescription() |
@NotNull java.lang.String |
getName() |
accept, copy, equals, getChildren, getChildrenWithTypeReferences, hashCode, withNewChildren
@NotNull @NotNull java.lang.String getName()
@Nullable @Nullable java.lang.String getDescription()
@Nullable @Nullable Node getDefinition()
Node
this schema element is based on. Is null if the GraphQLSchema
is not based on a SDL document.
Some elements also have additional extension Nodes. See for example GraphQLObjectType.getExtensionDefinitions()