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