Package org.hl7.fhir.r5.utils
Class GraphQLSchemaGenerator
java.lang.Object
org.hl7.fhir.r5.utils.GraphQLSchemaGenerator
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateConnectionAccessQuery
(Writer writer, List<SearchParameter> parameters, String name) void
generateListAccessQuery
(Writer writer, List<SearchParameter> parameters, String name) void
generateResource
(OutputStream stream, StructureDefinition sd, List<SearchParameter> parameters, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations) void
generateResource
(Writer writer, StructureDefinition sd, List<SearchParameter> parameters, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations) void
generateTypes
(OutputStream stream) void
generateTypes
(Writer writer) void
generateTypes
(Writer writer, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations)
-
Constructor Details
-
GraphQLSchemaGenerator
-
-
Method Details
-
generateTypes
public void generateTypes(OutputStream stream) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
generateTypes
- Throws:
IOException
-
generateTypes
public void generateTypes(Writer writer, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations) throws IOException - Throws:
IOException
-
generateResource
public void generateResource(OutputStream stream, StructureDefinition sd, List<SearchParameter> parameters, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
generateResource
public void generateResource(Writer writer, StructureDefinition sd, List<SearchParameter> parameters, EnumSet<GraphQLSchemaGenerator.FHIROperationType> operations) throws IOException - Throws:
IOException
-
generateListAccessQuery
public void generateListAccessQuery(Writer writer, List<SearchParameter> parameters, String name) throws IOException - Throws:
IOException
-
generateConnectionAccessQuery
public void generateConnectionAccessQuery(Writer writer, List<SearchParameter> parameters, String name) throws IOException - Throws:
IOException
-