public class InterfaceTypeDefinition extends AbstractNode implements TypeDefinition
Constructor and Description |
---|
InterfaceTypeDefinition(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
getChildren() |
java.util.List<Directive> |
getDirectives() |
java.util.List<FieldDefinition> |
getFieldDefinitions() |
java.lang.String |
getName() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
java.lang.String |
toString() |
getComments, getSourceLocation, setComments, setSourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComments, getSourceLocation
public java.util.List<FieldDefinition> getFieldDefinitions()
public java.util.List<Directive> getDirectives()
getDirectives
in interface TypeDefinition
public java.lang.String getName()
getName
in interface TypeDefinition
public java.util.List<Node> getChildren()
getChildren
in interface Node
public boolean isEqualTo(Node o)
Node
public java.lang.String toString()
toString
in class java.lang.Object