public class InlineFragment extends AbstractNode implements Selection
| Constructor and Description |
|---|
InlineFragment() |
InlineFragment(TypeName typeCondition) |
InlineFragment(TypeName typeCondition,
java.util.List<Directive> directives,
SelectionSet selectionSet) |
InlineFragment(TypeName typeCondition,
SelectionSet selectionSet) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Node> |
getChildren() |
java.util.List<Directive> |
getDirectives() |
SelectionSet |
getSelectionSet() |
TypeName |
getTypeCondition() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
void |
setDirectives(java.util.List<Directive> directives) |
void |
setSelectionSet(SelectionSet selectionSet) |
void |
setTypeCondition(TypeName typeCondition) |
java.lang.String |
toString() |
getSourceLocation, setSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSourceLocationpublic InlineFragment()
public InlineFragment(TypeName typeCondition)
public InlineFragment(TypeName typeCondition, java.util.List<Directive> directives, SelectionSet selectionSet)
public InlineFragment(TypeName typeCondition, SelectionSet selectionSet)
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