Viaduct JavaAPI API
Toggle table of contents
4.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
Viaduct JavaAPI API
Viaduct JavaAPI API
/
viaduct.java.api.reflect
/
Field
Field
interface
Field
<
P
:
GRT
?
>
(
source
)
Describes static properties of a GraphQL field.
Parameters
<P>
the GRT on which the field is defined
Inheritors
CompositeField
Members
Functions
get
Containing
Type
Link copied to clipboard
abstract
fun
getContainingType
(
)
:
Type
<
P
>
Returns the descriptor of the type on which this field is defined.
get
Name
Link copied to clipboard
abstract
fun
getName
(
)
:
String
Returns the GraphQL name of this field.
of
Link copied to clipboard
open
fun
<
P
:
GRT
?
>
of
(
name
:
String
,
containingType
:
Type
<
P
>
)
:
Field
<
P
>
Creates a descriptor for a scalar field.