Class AdaptWith

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

public class AdaptWith extends Object implements Serializable
Indicate that a field apply a custom adapter, adapting from one type to another This can be a JsonbTypeAdapter
Author:
Phillip Kruger (phillip.kruger@redhat.com)
See Also:
  • Constructor Details

  • Method Details

    • getAdapterInterface

      public String getAdapterInterface()
    • setAdapterInterface

      public void setAdapterInterface(String adapterInterface)
    • getFromMethod

      public String getFromMethod()
    • setFromMethod

      public void setFromMethod(String fromMethod)
    • getToMethod

      public String getToMethod()
    • setToMethod

      public void setToMethod(String toMethod)
    • getAdapterClass

      public String getAdapterClass()
    • setAdapterClass

      public void setAdapterClass(String adapterClass)
    • getFromReference

      public Reference getFromReference()
    • setFromReference

      public void setFromReference(Reference fromReference)
    • getToReference

      public Reference getToReference()
    • setToReference

      public void setToReference(Reference toReference)
    • isJsonB

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