001package org.hl7.fhir.r5.utils.structuremap;
002
003import org.hl7.fhir.r5.elementmodel.Property;
004import org.hl7.fhir.r5.fhirpath.TypeDetails;
005import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage;
006
007@MarkedToMoveToAdjunctPackage
008public class PropertyWithType {
009  private String path;
010  private Property baseProperty;
011  private Property profileProperty;
012  private TypeDetails types;
013
014  public PropertyWithType(String path, Property baseProperty, Property profileProperty, TypeDetails types) {
015    super();
016    this.baseProperty = baseProperty;
017    this.profileProperty = profileProperty;
018    this.path = path;
019    this.types = types;
020  }
021
022  public TypeDetails getTypes() {
023    return types;
024  }
025
026  public String getPath() {
027    return path;
028  }
029
030  public Property getBaseProperty() {
031    return baseProperty;
032  }
033
034  public void setBaseProperty(Property baseProperty) {
035    this.baseProperty = baseProperty;
036  }
037
038  public Property getProfileProperty() {
039    return profileProperty;
040  }
041
042  public void setProfileProperty(Property profileProperty) {
043    this.profileProperty = profileProperty;
044  }
045
046  public String summary() {
047    return path;
048  }
049
050}