001package org.hl7.fhir.utilities.graphql; 002 003import java.util.ArrayList; 004import java.util.List; 005 006public class Operation { 007 public enum OperationType {qglotQuery, qglotMutation} 008 009 private String name; 010 private Operation.OperationType operationType; 011 private List<Selection> selectionSet = new ArrayList<Selection>(); 012 private List<Variable> variables = new ArrayList<Variable>(); 013 private List<Directive> directives = new ArrayList<Directive>(); 014 015 public String getName() { 016 return name; 017 } 018 public void setName(String name) { 019 this.name = name; 020 } 021 public Operation.OperationType getOperationType() { 022 return operationType; 023 } 024 public void setOperationType(Operation.OperationType operationType) { 025 this.operationType = operationType; 026 } 027 public List<Selection> getSelectionSet() { 028 return selectionSet; 029 } 030 public List<Variable> getVariables() { 031 return variables; 032 } 033 public List<Directive> getDirectives() { 034 return directives; 035 } 036 037}