Class Field

java.lang.Object
io.smallrye.graphql.schema.model.Field
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Argument, DirectiveArgument, Operation

public class Field extends Object implements Serializable
Represent a property on a complex type (Type/Input/Interface) For fields that can take arguments, see Operation.
Author:
Phillip Kruger (phillip.kruger@redhat.com)
See Also:
  • Constructor Details

  • Method Details

    • getMethodName

      public String getMethodName()
    • setMethodName

      public void setMethodName(String methodName)
    • getPropertyName

      public String getPropertyName()
    • setPropertyName

      public void setPropertyName(String propertyName)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getReference

      public Reference getReference()
    • setReference

      public void setReference(Reference reference)
    • isNotNull

      public boolean isNotNull()
    • setNotNull

      public void setNotNull(boolean notNull)
    • getWrapper

      public Wrapper getWrapper()
    • setWrapper

      public void setWrapper(Wrapper wrapper)
    • hasWrapper

      public boolean hasWrapper()
    • getTransformation

      public Transformation getTransformation()
    • setTransformation

      public void setTransformation(Transformation transformation)
    • hasTransformation

      public boolean hasTransformation()
    • getAdaptTo

      public AdaptTo getAdaptTo()
    • setAdaptTo

      public void setAdaptTo(AdaptTo adaptTo)
    • isAdaptingTo

      public boolean isAdaptingTo()
    • getAdaptWith

      public AdaptWith getAdaptWith()
    • setAdaptWith

      public void setAdaptWith(AdaptWith adaptWith)
    • isAdaptingWith

      public boolean isAdaptingWith()
    • getDefaultValue

      public String getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • hasDefaultValue

      public boolean hasDefaultValue()
    • hasDirectiveInstances

      public boolean hasDirectiveInstances()
    • getDirectiveInstances

      public List<DirectiveInstance> getDirectiveInstances()
    • setDirectiveInstances

      public void setDirectiveInstances(List<DirectiveInstance> directiveInstances)
    • addDirectiveInstances

      public void addDirectiveInstances(List<DirectiveInstance> directiveInstances)
    • addDirectiveInstance

      public void addDirectiveInstance(DirectiveInstance directiveInstance)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object