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