public class InputValueDefinition extends AbstractNode
Constructor and Description |
---|
InputValueDefinition(java.lang.String name) |
InputValueDefinition(java.lang.String name,
Type type) |
InputValueDefinition(java.lang.String name,
Type type,
Value defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
getChildren() |
Value |
getDefaultValue() |
java.util.List<Directive> |
getDirectives() |
java.lang.String |
getName() |
Type |
getType() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setType(Type type) |
void |
setValue(Value defaultValue) |
java.lang.String |
toString() |
getComments, getSourceLocation, setComments, setSourceLocation
public InputValueDefinition(java.lang.String name)
public InputValueDefinition(java.lang.String name, Type type)
public Type getType()
public void setType(Type type)
public java.lang.String getName()
public Value getDefaultValue()
public void setValue(Value defaultValue)
public java.util.List<Directive> getDirectives()
public java.util.List<Node> getChildren()
public boolean isEqualTo(Node o)
Node
o
- the other node to compare topublic java.lang.String toString()
toString
in class java.lang.Object