public interface IGraphQLMutation
String getOperationName()
IDataSenderBuilder getFirstReturnObject()
List<IDataSenderBuilder> getReturnObjects()
IGraphQLMutation addReturnObject(IDataSenderBuilder returnObject)
returnObject
- IDataSenderBuilder to addIGraphQLMutation removeReturnObject(IDataSenderBuilder returnObject)
returnObject
- IDataSenderBuilder to removeInputDataSenderBuilder getInputObject()
String returnQuery()
Map<String,Object> getInputFieldsMap()
InputDataSenderBuilder.getFieldsMap()
void setInputFieldsMap(Map<String,Object> fieldsMap)
InputDataSenderBuilder.setFieldsMap(Map)
fieldsMap
- Map of fields and values to set via the mutationInputDataSenderBuilder addInputField(String key, String value)
InputDataSenderBuilder.addField(String, Object)
key
- String field namevalue
- Object value to setInputDataSenderBuilder addInputField(WWFieldsAttributesInterface enumName, Object value) throws WWException
InputDataSenderBuilder.addField(WWFieldsAttributesInterface, Object)
enumName
- WWFieldsAttributesInterface enum, whose label property is the name of the field to set via the mutationvalue
- Object value to setWWException
- containing an error message, if the value is a different data type to what the enum expectsInputDataSenderBuilder removeInputField(String key)
InputDataSenderBuilder.removeField(String)
key
- String field nameInputDataSenderBuilder removeInputField(WWFieldsAttributesInterface enumName)
InputDataSenderBuilder.removeField(WWFieldsAttributesInterface)
enumName
- WWFieldsAttributesInterface enum, whose label property is the name of the field to set via the mutationString getReturnObjectName()
ObjectDataSenderBuilder.getObjectName()
void setReturnObjectName(String objectName)
ObjectDataSenderBuilder.setObjectName(String)
objectName
- the objectName property from queryObject propertyList<String> getReturnFieldsList()
ObjectDataSenderBuilder.getFieldsList()
void setReturnFieldsList(List<String> fieldsList)
ObjectDataSenderBuilder.setFieldsList(List)
fieldsList
- List of String fields in the queryObject of this QueryIDataSenderBuilder addReturnField(String key)
ObjectDataSenderBuilder.addField(String)
key
- String field to add to the queryObject of this QueryIDataSenderBuilder addReturnField(WWFieldsAttributesInterface enumName)
ObjectDataSenderBuilder.addField(WWFieldsAttributesInterface)
enumName
- WWFIeldAttributesInterface field to add to the queryObject of this QueryIDataSenderBuilder removeReturnField(String key)
ObjectDataSenderBuilder.removeField(String)
key
- String field to remove from the queryObject of this QueryIDataSenderBuilder removeReturnField(WWFieldsAttributesInterface enumName)
ObjectDataSenderBuilder.removeField(WWFieldsAttributesInterface)
enumName
- WWFieldsAttributesInterface field to remove from the queryObject of this QueryList<IDataSenderBuilder> getReturnChildren()
ObjectDataSenderBuilder.getChildren()
IDataSenderBuilder setReturnChildren(List<IDataSenderBuilder> children)
ObjectDataSenderBuilder.setChildren(List)
children
- List of DataSenderBuilders corresponding to the children of the queryObject of this QueryIDataSenderBuilder addReturnChild(IDataSenderBuilder child)
ObjectDataSenderBuilder.addChild(IDataSenderBuilder)
child
- DataSenderBuilder for the child to be added to the queryObject of this QueryIDataSenderBuilder removeReturnChild(IDataSenderBuilder child)
ObjectDataSenderBuilder.removeChild(IDataSenderBuilder)
child
- DataSenderBuilder for the child to be removed from the queryObject of this QueryCopyright © 2018 OpenNTF. All rights reserved.