Class Transformation

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

public class Transformation extends Object implements Serializable
Indicate that a field should apply transformation At the moment this is only on number and date scalars. We also mark if this is a JsonB annotated field o
Author:
Phillip Kruger (phillip.kruger@redhat.com)
See Also:
  • Constructor Details

  • Method Details

    • getType

      public Transformation.Type getType()
    • setType

      public void setType(Transformation.Type type)
    • getFormat

      public String getFormat()
    • setFormat

      public void setFormat(String format)
    • getLocale

      public String getLocale()
    • setLocale

      public void setLocale(String locale)
    • isJsonB

      public boolean isJsonB()
    • setJsonB

      public void setJsonB(boolean jsonB)
    • 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