Module java4ever.binding
Record Class GqlSchemaRoot.GqlType.GqlScalar
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.reference.gql.GqlSchemaRoot.GqlType.GqlScalar
- All Implemented Interfaces:
GqlSchemaRoot.GqlType
- Enclosing interface:
GqlSchemaRoot.GqlType
public static record GqlSchemaRoot.GqlType.GqlScalar(GqlSchemaRoot.GqlKind kind, String name, String description)
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
ConstructorsConstructorDescriptionGqlScalar(GqlSchemaRoot.GqlKind kind, String name, String description) Creates an instance of aGqlScalarrecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GqlScalar
Creates an instance of aGqlScalarrecord class.- Parameters:
kind- the value for thekindrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord 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
-