Interface Character

All Superinterfaces:
Node
All Known Implementing Classes:
Droid, Human

public interface Character extends Node
Author:
generated by graphql-java-generator
See Also:
  • Method Details

    • setId

      void setId(String id)
      Specified by:
      setId in interface Node
    • getId

      String getId()
      Specified by:
      getId in interface Node
    • setName

      void setName(String name)
    • getName

      String getName()
    • setFriends

      void setFriends(List<Character> friends)
    • getFriends

      List<Character> getFriends()
    • setAppearsIn

      void setAppearsIn(List<Episode> appearsIn)
    • getAppearsIn

      List<Episode> getAppearsIn()
    • set__typename

      void set__typename(String __typename)
      Specified by:
      set__typename in interface Node
    • get__typename

      String get__typename()
      Specified by:
      get__typename in interface Node
    • setAliasValue

      void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      Specified by:
      setAliasValue in interface Node
      Parameters:
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      Object getAliasValue(String alias)
      Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
      This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.
      Specified by:
      getAliasValue in interface Node
      Parameters:
      alias -
      Returns: