@Immutable public class GQLFragmentDefinition extends Object implements GQLFragment
| Constructor and Description |
|---|
GQLFragmentDefinition(String name,
net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor,
List<GQLSelection> selectionSet) |
| Modifier and Type | Method and Description |
|---|---|
List<GQLSelection> |
getSelectionSet() |
net.morimekta.providence.descriptor.PMessageDescriptor<?> |
getTypeCondition()
All fragments represent a specific message type of a union
field, or an interface implementation.
|
int |
hashCode() |
String |
toString() |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitisApplicableForgetSelection, hasSelection, hasSelectionPathpublic GQLFragmentDefinition(@Nonnull String name, @Nonnull net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor, @Nonnull List<GQLSelection> selectionSet)
name - Name of the fragment.descriptor - Descriptor of type defined in this fragment.selectionSet - SelectionSet for the fragment.@Nonnull public net.morimekta.providence.descriptor.PMessageDescriptor<?> getTypeCondition()
GQLFragmentgetTypeCondition in interface GQLFragment@Nonnull public List<GQLSelection> getSelectionSet()
getSelectionSet in interface GQLFragmentgetSelectionSet in interface GQLSelectionCopyright © 2015–2020 morimekta.net. All rights reserved.