Class EinzelempfehlungWirkstoffDataMapper
- java.lang.Object
-
- dev.pcvolkmer.mv64e.datamapper.mapper.AbstractSubformDataMapper<T>
-
- dev.pcvolkmer.mv64e.datamapper.mapper.AbstractEinzelempfehlungDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>
-
- dev.pcvolkmer.mv64e.datamapper.mapper.EinzelempfehlungWirkstoffDataMapper
-
- All Implemented Interfaces:
DataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>,SubformDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>
public class EinzelempfehlungWirkstoffDataMapper extends AbstractEinzelempfehlungDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>
Mapper class to load and map diagnosis data from database table 'dk_dnpm_einzelempfehlung'- Since:
- 0.1
-
-
Field Summary
-
Fields inherited from class dev.pcvolkmer.mv64e.datamapper.mapper.AbstractEinzelempfehlungDataMapper
log, therapieplanCatalogue
-
Fields inherited from class dev.pcvolkmer.mv64e.datamapper.mapper.AbstractSubformDataMapper
catalogue
-
-
Constructor Summary
Constructors Constructor Description EinzelempfehlungWirkstoffDataMapper(EinzelempfehlungCatalogue einzelempfehlungCatalogue, TherapieplanCatalogue therapieplanCatalogue, MolekulargenuntersuchungCatalogue untersuchungCatalogue, PropertyCatalogue propertyCatalogue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendationgetById(int id)Loads a data set from database and maps it into destination data typejava.util.List<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>getByParentId(int parentId)Loads a data set from database and maps it into destination data typeprotected dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendationmap(ResultSet resultSet)Maps a single result set into destination object-
Methods inherited from class dev.pcvolkmer.mv64e.datamapper.mapper.AbstractEinzelempfehlungDataMapper
getCarePlanDate, getCarePlanKpaId, getLevelOfEvidence, getRecommendationPriority, getRecommendationPriorityCoding, getRecommendationPriorityCoding
-
-
-
-
Constructor Detail
-
EinzelempfehlungWirkstoffDataMapper
public EinzelempfehlungWirkstoffDataMapper(EinzelempfehlungCatalogue einzelempfehlungCatalogue, TherapieplanCatalogue therapieplanCatalogue, MolekulargenuntersuchungCatalogue untersuchungCatalogue, PropertyCatalogue propertyCatalogue)
-
-
Method Detail
-
map
protected dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation map(ResultSet resultSet)
Description copied from class:AbstractSubformDataMapperMaps a single result set into destination object- Specified by:
mapin classAbstractSubformDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>- Parameters:
resultSet- The result set to start from- Returns:
- The destination object
-
getById
public @Nullable dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation getById(int id)
Description copied from interface:DataMapperLoads a data set from database and maps it into destination data type- Parameters:
id- The database id of the root procedure data set- Returns:
- The data set to be loaded
-
getByParentId
@NullMarked public java.util.List<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation> getByParentId(int parentId)
Description copied from class:AbstractSubformDataMapperLoads a data set from database and maps it into destination data type- Specified by:
getByParentIdin interfaceSubformDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>- Overrides:
getByParentIdin classAbstractSubformDataMapper<dev.pcvolkmer.mv64e.mtb.MtbMedicationRecommendation>- Parameters:
parentId- The database id of the parent procedure data set- Returns:
- The data set to be loaded
-
-