Class UuidCoercing

  • All Implemented Interfaces:
    graphql.schema.Coercing<UUID,​String>

    public class UuidCoercing
    extends Object
    implements graphql.schema.Coercing<UUID,​String>
    Access this via CustomScalars.Uuid. It is not to be used directly.
    • Constructor Detail

      • UuidCoercing

        public UuidCoercing()
    • Method Detail

      • serialize

        public String serialize​(Object input)
                         throws graphql.schema.CoercingSerializeException
        Specified by:
        serialize in interface graphql.schema.Coercing<UUID,​String>
        Throws:
        graphql.schema.CoercingSerializeException
      • parseValue

        public UUID parseValue​(Object input)
                        throws graphql.schema.CoercingParseValueException
        Specified by:
        parseValue in interface graphql.schema.Coercing<UUID,​String>
        Throws:
        graphql.schema.CoercingParseValueException
      • parseLiteral

        public UUID parseLiteral​(Object input)
                          throws graphql.schema.CoercingParseLiteralException
        Specified by:
        parseLiteral in interface graphql.schema.Coercing<UUID,​String>
        Throws:
        graphql.schema.CoercingParseLiteralException