Class InputField
java.lang.Object
no.sikt.graphitron.definitions.fields.AbstractField<T>
no.sikt.graphitron.definitions.fields.GenerationSourceField<graphql.language.InputValueDefinition>
no.sikt.graphitron.definitions.fields.InputField
- All Implemented Interfaces:
FieldSpecification,GenerationField,GenerationTarget
- Direct Known Subclasses:
ArgumentField,VirtualInputField
A field for a
InputDefinition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<InputField>booleanbooleanisInput()booleanbooleanMethods inherited from class no.sikt.graphitron.definitions.fields.GenerationSourceField
formatPath, getCondition, getContextFields, getExternalMethod, getFieldRecordMappingName, getFieldReferences, getMappingForRecordFieldOverride, getMultitableReferences, getMutationType, getNodeIdTypeName, hasCondition, hasFieldDirective, hasFieldReferences, hasMultitableReferences, hasMutationType, hasNodeID, hasOverridingCondition, hasServiceReference, hasTableMethodDirective, invokesSubquery, isExplicitlyNotGenerated, isExternalField, isGenerated, isGeneratedWithResolver, isResolverMethods inherited from class no.sikt.graphitron.definitions.fields.AbstractField
getContainerTypeName, getJavaName, getMappingFromFieldOverride, getMappingFromSchemaName, getName, getTypeClass, getTypeName, getUnprocessedFieldOverrideInput, getUpperCaseName, hasSetFieldOverride, isID, isIterableWrapped, isNonNullable, isNullable, isRootFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.sikt.graphitron.definitions.interfaces.FieldSpecification
getContainerTypeName, getMappingFromFieldOverride, getMappingFromSchemaName, getName, getTypeClass, getTypeName, getUpperCaseName, hasSetFieldOverride, isID, isIterableWrapped, isNonNullable, isNullable, isRootField
-
Constructor Details
-
InputField
-
-
Method Details
-
hasDefaultValue
public boolean hasDefaultValue()- Returns:
- Does this input have a default value set?
-
getDefaultValue
- Returns:
- Default value for this input.
-
isLookupKey
public boolean isLookupKey()- Returns:
- Is this input field to be used as a key for a lookup operation?
-
from
public static List<InputField> from(List<graphql.language.InputValueDefinition> fields, String container) - Returns:
- List of instances based on a list of
InputValueDefinition.
-
isOrderField
public boolean isOrderField() -
isInput
public boolean isInput()
-