public class InputObjectTypeDefinition extends AbstractNode<InputObjectTypeDefinition> implements TypeDefinition<InputObjectTypeDefinition>
Constructor and Description |
---|
InputObjectTypeDefinition(java.lang.String name) |
InputObjectTypeDefinition(java.lang.String name,
java.util.List<Directive> directives,
java.util.List<InputValueDefinition> inputValueDefinitions) |
Modifier and Type | Method and Description |
---|---|
InputObjectTypeDefinition |
deepCopy() |
java.util.List<Node> |
getChildren() |
Directive |
getDirective(java.lang.String directiveName) |
java.util.List<Directive> |
getDirectives() |
java.util.Map<java.lang.String,Directive> |
getDirectivesByName() |
java.util.List<InputValueDefinition> |
getInputValueDefinitions() |
java.lang.String |
getName() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
java.lang.String |
toString() |
deepCopy, deepCopy, getComments, getSourceLocation, setComments, setSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComments, getSourceLocation
public InputObjectTypeDefinition(java.lang.String name)
public InputObjectTypeDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<InputValueDefinition> inputValueDefinitions)
public java.util.List<Directive> getDirectives()
getDirectives
in interface TypeDefinition<InputObjectTypeDefinition>
public java.util.Map<java.lang.String,Directive> getDirectivesByName()
public Directive getDirective(java.lang.String directiveName)
public java.util.List<InputValueDefinition> getInputValueDefinitions()
public java.lang.String getName()
getName
in interface TypeDefinition<InputObjectTypeDefinition>
public java.util.List<Node> getChildren()
getChildren
in interface Node<InputObjectTypeDefinition>
public boolean isEqualTo(Node o)
Node
isEqualTo
in interface Node<InputObjectTypeDefinition>
o
- the other node to compare topublic InputObjectTypeDefinition deepCopy()
deepCopy
in interface Definition<InputObjectTypeDefinition>
deepCopy
in interface Node<InputObjectTypeDefinition>
deepCopy
in interface TypeDefinition<InputObjectTypeDefinition>
public java.lang.String toString()
toString
in class java.lang.Object