001package org.hl7.fhir.r5.utils.structuremap;
002
003import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage;
004
005@MarkedToMoveToAdjunctPackage
006public class VariableForProfiling {
007  private VariableMode mode;
008  private String name;
009  private PropertyWithType property;
010
011  public VariableForProfiling(VariableMode mode, String name, PropertyWithType property) {
012    super();
013    this.mode = mode;
014    this.name = name;
015    this.property = property;
016  }
017
018  public VariableMode getMode() {
019    return mode;
020  }
021
022  public String getName() {
023    return name;
024  }
025
026  public PropertyWithType getProperty() {
027    return property;
028  }
029
030  public String summary() {
031    return name + ": " + property.summary();
032  }
033}