Class Wrapper

java.lang.Object
io.smallrye.graphql.schema.model.Wrapper
All Implemented Interfaces:
Serializable

public class Wrapper extends Object implements Serializable
If the type is wrapped in a generics bucket or in an array, keep the info here.
Author:
Phillip Kruger (phillip.kruger@redhat.com)
See Also:
  • Constructor Details

    • Wrapper

      public Wrapper()
    • Wrapper

      public Wrapper(WrapperType wrapperType, String wrapperClassName)
    • Wrapper

      public Wrapper(WrapperType wrapperType, String wrapperClassName, boolean wrappedTypeNotNull)
  • Method Details

    • getWrapperType

      public WrapperType getWrapperType()
    • setWrapperType

      public void setWrapperType(WrapperType wrapperType)
    • getWrapperClassName

      public String getWrapperClassName()
    • setWrapperClassName

      public void setWrapperClassName(String wrapperClassName)
    • setWrappedTypeNotNull

      public void setWrappedTypeNotNull(boolean wrappedTypeNotNull)
    • isWrappedTypeNotNull

      public boolean isWrappedTypeNotNull()
    • getWrapper

      public Wrapper getWrapper()
    • setWrapper

      public void setWrapper(Wrapper wrapper)
    • hasWrapper

      public boolean hasWrapper()
    • isCollectionOrArrayOrMap

      public boolean isCollectionOrArrayOrMap()
    • isCollection

      public boolean isCollection()
    • isMap

      public boolean isMap()
    • isArray

      public boolean isArray()
    • isOptional

      public boolean isOptional()
    • isUnknown

      public boolean isUnknown()
    • 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