Package org.hl7.fhir.utilities.graphql
Class ObjectValue
- java.lang.Object
-
- org.hl7.fhir.utilities.graphql.Value
-
- org.hl7.fhir.utilities.graphql.ObjectValue
-
- Direct Known Subclasses:
GraphQLResponse
public class ObjectValue extends Value
-
-
Constructor Summary
Constructors Constructor Description ObjectValue()ObjectValue(com.google.gson.JsonObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentaddField(String name, Argument.ArgumentListStatus listStatus)List<Argument>getFields()StringgetValue()voidwrite(StringBuilder b, int indent)Write the output using the system default line separator (as defined inSystem.lineSeparatorvoidwrite(StringBuilder b, Integer indent, String lineSeparator)Write the output using the system default line separator (as defined inSystem.lineSeparator
-
-
-
Constructor Detail
-
ObjectValue
public ObjectValue()
-
ObjectValue
public ObjectValue(com.google.gson.JsonObject json) throws EGraphQLException
- Throws:
EGraphQLException
-
-
Method Detail
-
addField
public Argument addField(String name, Argument.ArgumentListStatus listStatus) throws FHIRException
- Throws:
FHIRException
-
write
public void write(StringBuilder b, int indent) throws EGraphQLException, EGraphEngine
Write the output using the system default line separator (as defined inSystem.lineSeparator- Specified by:
writein classValue- Parameters:
b- The StringBuilder to populateindent- The indent level, or-1for no indent- Throws:
EGraphQLExceptionEGraphEngine
-
write
public void write(StringBuilder b, Integer indent, String lineSeparator) throws EGraphQLException, EGraphEngine
Write the output using the system default line separator (as defined inSystem.lineSeparator- Parameters:
b- The StringBuilder to populateindent- The indent level, or-1for no indentlineSeparator- The line separator- Throws:
EGraphQLExceptionEGraphEngine
-
-