Package graphql.language
Interface SDLNamedDefinition<T extends SDLNamedDefinition>
- Type Parameters:
T- the actual Node type
- All Superinterfaces:
Definition<T>,Node<T>,SDLDefinition<T>,Serializable
- All Known Subinterfaces:
ImplementingTypeDefinition<T>,TypeDefinition<T>
- All Known Implementing Classes:
DirectiveDefinition,EnumTypeDefinition,EnumTypeExtensionDefinition,InputObjectTypeDefinition,InputObjectTypeExtensionDefinition,InterfaceTypeDefinition,InterfaceTypeExtensionDefinition,ObjectTypeDefinition,ObjectTypeExtensionDefinition,ScalarTypeDefinition,ScalarTypeExtensionDefinition,UnionTypeDefinition,UnionTypeExtensionDefinition
@PublicApi
public interface SDLNamedDefinition<T extends SDLNamedDefinition>
extends SDLDefinition<T>
A interface for named Schema Definition Language (SDL) definition.
-
Method Summary
Methods inherited from interface graphql.language.Node
accept, deepCopy, getAdditionalData, getChildren, getComments, getIgnoredChars, getNamedChildren, getSourceLocation, isEqualTo, withNewChildren
-
Method Details
-
getName
String getName()- Returns:
- The name of this SDL definition
-