Class InputType

  • All Implemented Interfaces:
    Serializable

    public final class InputType
    extends Reference
    Represent a GraphQL Input Type. A Input Type is used when passing a complex object as an argument in an operation. It's a Java Bean that we only care about the setter methods and properties. A Input Type is a java bean with fields and setter methods
    Author:
    Phillip Kruger ([email protected])
    See Also:
    Object, Serialized Form
    • Constructor Detail

      • InputType

        public InputType()
    • Method Detail

      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • addField

        public void addField​(Field field)
      • hasFields

        public boolean hasFields()
      • hasField

        public boolean hasField​(String fieldName)
      • getCreatorParameters

        public List<Field> getCreatorParameters()
      • setCreatorParameters

        public void setCreatorParameters​(List<Field> creatorParameters)
      • addCreatorParameter

        public void addCreatorParameter​(Field creatorParameter)