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