public class InlineFragment extends AbstractNode<InlineFragment> implements Selection<InlineFragment>
| 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 |
|---|---|
InlineFragment |
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() |
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() |
deepCopy, deepCopy, getComments, getSourceLocation, setComments, setSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComments, getSourceLocationpublic InlineFragment()
public InlineFragment(TypeName typeCondition)
public InlineFragment(TypeName typeCondition, SelectionSet selectionSet)
public InlineFragment(TypeName typeCondition, java.util.List<Directive> directives, SelectionSet selectionSet)
public TypeName getTypeCondition()
public void setTypeCondition(TypeName typeCondition)
public java.util.List<Directive> getDirectives()
public java.util.Map<java.lang.String,Directive> getDirectivesByName()
public Directive getDirective(java.lang.String directiveName)
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 Node<InlineFragment>public boolean isEqualTo(Node o)
NodeisEqualTo in interface Node<InlineFragment>o - the other node to compare topublic InlineFragment deepCopy()
deepCopy in interface Node<InlineFragment>deepCopy in interface Selection<InlineFragment>public java.lang.String toString()
toString in class java.lang.Object