Class GraphQLScalarTypeIDServer

java.lang.Object
com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer

public class GraphQLScalarTypeIDServer
extends java.lang.Object
ID are managed as UUID, on server side. This class takes care of ID attributes by serializing to and deserializing from UUID. It used internally in the generated code, in the various method that need this serialization or deserialization.
Author:
etienne-sf
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static graphql.schema.GraphQLScalarType ID
    UUID are managed as String, on client side.
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphQLScalarTypeIDServer()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ID

      public static graphql.schema.GraphQLScalarType ID
      UUID are managed as String, on client side. This class takes care of UUID attributes by doing ... nothing! As value as serialized and deserialized as String, to hide what it may mean.
  • Constructor Details