Module java4ever.binding
Record Class GqlSchemaRoot.GqlType.GqlObject
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType.GqlObject
- All Implemented Interfaces:
GqlSchemaRoot.GqlType
- Enclosing interface:
GqlSchemaRoot.GqlType
public static record GqlSchemaRoot.GqlType.GqlObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlField> fields, Collection<GqlSchemaRoot.GqlParam> interfaces)
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
ConstructorsConstructorDescriptionGqlObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlField> fields, Collection<GqlSchemaRoot.GqlParam> interfaces) Creates an instance of aGqlObjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinterfacesrecord component.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GqlObject
public GqlObject(GqlSchemaRoot.GqlKind kind, String name, String description, Collection<GqlSchemaRoot.GqlField> fields, Collection<GqlSchemaRoot.GqlParam> interfaces) Creates an instance of aGqlObjectrecord class.- Parameters:
kind- the value for thekindrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentfields- the value for thefieldsrecord componentinterfaces- the value for theinterfacesrecord 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
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
interfaces
Returns the value of theinterfacesrecord component.- Returns:
- the value of the
interfacesrecord component
-