Class AbstractVariable
- java.lang.Object
-
- io.smallrye.graphql.client.impl.core.AbstractVariable
-
- Direct Known Subclasses:
VariableImpl
public abstract class AbstractVariable extends Object implements Variable
-
-
Constructor Summary
Constructors Constructor Description AbstractVariable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Object>getDefaultValue()List<Directive>getDirectives()StringgetName()VariableTypegetType()voidsetDefaultValue(Optional<Object> value)voidsetDirectives(List<Directive> directives)voidsetName(String name)voidsetType(VariableType type)
-
-
-
Method Detail
-
getType
public VariableType getType()
-
setType
public void setType(VariableType type)
-
getDefaultValue
public Optional<Object> getDefaultValue()
- Specified by:
getDefaultValuein interfaceVariable
-
setDefaultValue
public void setDefaultValue(Optional<Object> value)
- Specified by:
setDefaultValuein interfaceVariable
-
getDirectives
public List<Directive> getDirectives()
- Specified by:
getDirectivesin interfaceVariable
-
setDirectives
public void setDirectives(List<Directive> directives)
- Specified by:
setDirectivesin interfaceVariable
-
-