001package org.hl7.fhir.r5.conformance.profile;
002
003import org.hl7.fhir.r5.model.ElementDefinition;
004
005public class BaseTypeSlice {
006  private ElementDefinition defn;
007  private String type;
008  private int start;
009  private int end;
010  private boolean handled;
011
012  public BaseTypeSlice(ElementDefinition defn, String type, int start, int end) {
013    super();
014    this.defn = defn;
015    this.type = type;
016    this.start = start;
017    this.end = end;
018  }
019
020  public ElementDefinition getDefn() {
021    return defn;
022  }
023
024  public String getType() {
025    return type;
026  }
027
028  public int getStart() {
029    return start;
030  }
031
032  public int getEnd() {
033    return end;
034  }
035
036  public boolean isHandled() {
037    return handled;
038  }
039
040  public void setHandled(boolean handled) {
041    this.handled = handled;
042  }
043}