public class DirectiveDefinition extends AbstractNode<DirectiveDefinition> implements Definition<DirectiveDefinition>
Constructor and Description |
---|
DirectiveDefinition(java.lang.String name) |
DirectiveDefinition(java.lang.String name,
java.util.List<InputValueDefinition> inputValueDefinitions,
java.util.List<DirectiveLocation> directiveLocations) |
Modifier and Type | Method and Description |
---|---|
DirectiveDefinition |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.util.List<DirectiveLocation> |
getDirectiveLocations() |
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 DirectiveDefinition(java.lang.String name)
public DirectiveDefinition(java.lang.String name, java.util.List<InputValueDefinition> inputValueDefinitions, java.util.List<DirectiveLocation> directiveLocations)
public java.lang.String getName()
public java.util.List<InputValueDefinition> getInputValueDefinitions()
public java.util.List<DirectiveLocation> getDirectiveLocations()
public java.util.List<Node> getChildren()
getChildren
in interface Node<DirectiveDefinition>
public boolean isEqualTo(Node o)
Node
isEqualTo
in interface Node<DirectiveDefinition>
o
- the other node to compare topublic DirectiveDefinition deepCopy()
deepCopy
in interface Definition<DirectiveDefinition>
deepCopy
in interface Node<DirectiveDefinition>
public java.lang.String toString()
toString
in class java.lang.Object