001package org.hl7.fhir.validation.instance.utils;
002
003import org.hl7.fhir.r5.elementmodel.Element;
004
005public class IndexedElement {
006  private int index;
007  private Element match;
008  private Element entry;
009
010    public int getIndex() {
011        return index;
012    }
013
014    public IndexedElement setIndex(int index) {
015        this.index = index;
016        return this;
017    }
018
019    public Element getMatch() {
020        return match;
021    }
022
023    public IndexedElement setMatch(Element match) {
024        this.match = match;
025        return this;
026    }
027
028    public Element getEntry() {
029        return entry;
030    }
031
032    public IndexedElement setEntry(Element entry) {
033        this.entry = entry;
034        return this;
035    }
036
037    public IndexedElement(int index, Element match, Element entry) {
038    super();
039    this.index = index;
040    this.match = match;
041    this.entry = entry;
042  }
043
044}