Class CustomMetadataDataMapper

    • Method Detail

      • getById

        public CustomMetadata getById​(int id)
        Description copied from interface: DataMapper
        Loads a data set from database and maps it into destination data type
        Specified by:
        getById in interface DataMapper<CustomMetadata>
        Parameters:
        id - The database id of the root procedure data set
        Returns:
        The data set to be loaded
      • getByCaseId

        public CustomMetadata getByCaseId​(java.lang.String caseId)
        Loads and maps using the case id
        Parameters:
        caseId - The case id
        Returns:
        The loaded Mtb file
      • getLatestByPatientIdAndTumorId

        public CustomMetadata getLatestByPatientIdAndTumorId​(java.lang.String patientId,
                                                             int tumorId)
        Loads and maps using the patient id and tumor id
        Parameters:
        patientId - The patients id (not database id)
        tumorId - The tumor identification
        Returns:
        The loaded Mtb file