Package io.smallrye.graphql.schema.model
Class Field
- java.lang.Object
-
- io.smallrye.graphql.schema.model.Field
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Argument
,DirectiveArgument
,Operation
public class Field extends Object implements Serializable
Represent a property on a complex type (Type/Input/Interface) For fields that can take arguments, see Operation.- Author:
- Phillip Kruger ([email protected])
- See Also:
- Field, Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
getMethodName
public String getMethodName()
-
setMethodName
public void setMethodName(String methodName)
-
getPropertyName
public String getPropertyName()
-
setPropertyName
public void setPropertyName(String propertyName)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getReference
public Reference getReference()
-
setReference
public void setReference(Reference reference)
-
isNotNull
public boolean isNotNull()
-
setNotNull
public void setNotNull(boolean notNull)
-
getWrapper
public Wrapper getWrapper()
-
setWrapper
public void setWrapper(Wrapper wrapper)
-
hasWrapper
public boolean hasWrapper()
-
getTransformation
public Transformation getTransformation()
-
setTransformation
public void setTransformation(Transformation transformation)
-
hasTransformation
public boolean hasTransformation()
-
getAdaptTo
public AdaptTo getAdaptTo()
-
setAdaptTo
public void setAdaptTo(AdaptTo adaptTo)
-
isAdaptingTo
public boolean isAdaptingTo()
-
getAdaptWith
public AdaptWith getAdaptWith()
-
setAdaptWith
public void setAdaptWith(AdaptWith adaptWith)
-
isAdaptingWith
public boolean isAdaptingWith()
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
hasDefaultValue
public boolean hasDefaultValue()
-
hasDirectiveInstances
public boolean hasDirectiveInstances()
-
getDirectiveInstances
public List<DirectiveInstance> getDirectiveInstances()
-
setDirectiveInstances
public void setDirectiveInstances(List<DirectiveInstance> directiveInstances)
-
addDirectiveInstances
public void addDirectiveInstances(List<DirectiveInstance> directiveInstances)
-
-