Package io.smallrye.graphql.schema.model
Class Operation
java.lang.Object
io.smallrye.graphql.schema.model.Field
io.smallrye.graphql.schema.model.Operation
- All Implemented Interfaces:
Serializable
Represent an operation on a Query or Mutation,
or an operation on a Type in the case of a Source annotation.
a Operation if a special kind on field that allows arguments.
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(Argument argument) booleanbooleanvoidsetArguments(List<Argument> arguments) voidsetClassName(String className) voidsetExecute(Execute execute) voidsetOperationType(OperationType operationType) voidsetSourceFieldOn(Reference sourceFieldOn) toString()Methods inherited from class io.smallrye.graphql.schema.model.Field
addDirectiveInstance, addDirectiveInstances, equals, getAdaptTo, getAdaptWith, getDefaultValue, getDescription, getDirectiveInstances, getMethodName, getName, getPropertyName, getReference, getTransformation, getWrapper, hasDefaultValue, hasDirectiveInstances, hashCode, hasTransformation, hasWrapper, isAdaptingTo, isAdaptingWith, isNotNull, setAdaptTo, setAdaptWith, setDefaultValue, setDescription, setDirectiveInstances, setMethodName, setName, setNotNull, setPropertyName, setReference, setTransformation, setWrapper
-
Constructor Details
-
Operation
public Operation() -
Operation
-
-
Method Details