Class ExtendedFieldDefinition

java.lang.Object
graphql.language.AbstractNode<T>
graphql.language.AbstractDescribedNode<graphql.language.FieldDefinition>
graphql.language.FieldDefinition
io.github.besi97.graphql.codegen.model.definitions.ExtendedFieldDefinition
All Implemented Interfaces:
graphql.language.DescribedNode<graphql.language.FieldDefinition>, graphql.language.DirectivesContainer<graphql.language.FieldDefinition>, graphql.language.NamedNode<graphql.language.FieldDefinition>, graphql.language.Node<graphql.language.FieldDefinition>, Serializable

public class ExtendedFieldDefinition extends graphql.language.FieldDefinition
Used to identify whether the field definition comes from the extension or base definition
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class graphql.language.FieldDefinition

    graphql.language.FieldDefinition.Builder
  • Field Summary

    Fields inherited from class graphql.language.FieldDefinition

    CHILD_DIRECTIVES, CHILD_INPUT_VALUE_DEFINITION, CHILD_TYPE

    Fields inherited from class graphql.language.AbstractDescribedNode

    description
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ExtendedFieldDefinition(graphql.language.FieldDefinition f, boolean fromExtension)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get java doc of GraphQL field
    boolean
     

    Methods inherited from class graphql.language.FieldDefinition

    accept, deepCopy, getChildren, getDirectives, getDirectives, getDirectivesByName, getInputValueDefinitions, getName, getNamedChildren, getType, hasDirective, isEqualTo, newFieldDefinition, toString, transform, withNewChildren

    Methods inherited from class graphql.language.AbstractDescribedNode

    getDescription

    Methods inherited from class graphql.language.AbstractNode

    deepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface graphql.language.Node

    getAdditionalData, getComments, getIgnoredChars, getSourceLocation
  • Constructor Details

    • ExtendedFieldDefinition

      protected ExtendedFieldDefinition(graphql.language.FieldDefinition f, boolean fromExtension)
  • Method Details

    • getJavaDoc

      public List<String> getJavaDoc()
      Get java doc of GraphQL field
      Returns:
      a list of Java docs for this GraphQL field
    • isFromExtension

      public boolean isFromExtension()