Module java4ever.binding
Record Class GqlSchemaRoot.GqlType.GqlInterface
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType.GqlInterface
- All Implemented Interfaces:
GqlSchemaRoot.GqlType
- Enclosing interface:
GqlSchemaRoot.GqlType
public static record GqlSchemaRoot.GqlType.GqlInterface(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlParam> possibleTypes)
extends Record
implements GqlSchemaRoot.GqlType
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType
GqlSchemaRoot.GqlType.GqlEnum, GqlSchemaRoot.GqlType.GqlInputObject, GqlSchemaRoot.GqlType.GqlInterface, GqlSchemaRoot.GqlType.GqlObject, GqlSchemaRoot.GqlType.GqlScalar -
Constructor Summary
ConstructorsConstructorDescriptionGqlInterface(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlParam> possibleTypes) Creates an instance of aGqlInterfacerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.Returns the value of thepossibleTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GqlInterface
public GqlInterface(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlParam> possibleTypes) Creates an instance of aGqlInterfacerecord class.- Parameters:
kind- the value for thekindrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentpossibleTypes- the value for thepossibleTypesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
kind
Returns the value of thekindrecord component.- Specified by:
kindin interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
kindrecord component
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Specified by:
descriptionin interfaceGqlSchemaRoot.GqlType- Returns:
- the value of the
descriptionrecord component
-
possibleTypes
Returns the value of thepossibleTypesrecord component.- Returns:
- the value of the
possibleTypesrecord component
-