public class FragmentDefinition extends AbstractNode implements Definition
| Constructor and Description |
|---|
FragmentDefinition() |
FragmentDefinition(java.lang.String name,
TypeName typeCondition) |
FragmentDefinition(java.lang.String name,
TypeName typeCondition,
SelectionSet selectionSet) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Node> |
getChildren() |
java.util.List<Directive> |
getDirectives() |
java.lang.String |
getName() |
SelectionSet |
getSelectionSet() |
TypeName |
getTypeCondition() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setDirectives(java.util.List<Directive> directives) |
void |
setName(java.lang.String name) |
void |
setSelectionSet(SelectionSet selectionSet) |
void |
setTypeCondition(TypeName typeCondition) |
java.lang.String |
toString() |
getSourceLocation, setSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSourceLocationpublic FragmentDefinition()
public FragmentDefinition(java.lang.String name,
TypeName typeCondition)
public FragmentDefinition(java.lang.String name,
TypeName typeCondition,
SelectionSet selectionSet)
public java.lang.String getName()
public void setName(java.lang.String name)
public TypeName getTypeCondition()
public void setTypeCondition(TypeName typeCondition)
public java.util.List<Directive> getDirectives()
public void setDirectives(java.util.List<Directive> directives)
public SelectionSet getSelectionSet()
public void setSelectionSet(SelectionSet selectionSet)
public java.util.List<Node> getChildren()
getChildren in interface Nodepublic boolean isEqualTo(Node o)
Nodepublic java.lang.String toString()
toString in class java.lang.Object