Project

General

Profile

« Previous | Next » 

Revision 8f5a9520

Added by Katja Luther almost 6 years ago

fix delete and tests of specimen with typedesignations and gathering events

View differences:

cdmlib-services/src/test/resources/eu/etaxonomy/cdm/api/service/OccurrenceServiceTest.testDeleteDerivateHierarchyStepByStep.xml
10 10
  <SEQUENCE ID="5000" CREATED="2014-12-12 07:45:32.0" UUID="0b867369-de8c-4837-a708-5b7d9f6091be" UPDATED="2014-12-12 07:45:32.841" BARCODESEQUENCEPART_LENGTH="[null]" BARCODESEQUENCEPART_STRING="[null]" BOLDPROCESSID="[null]" CONSENSUSSEQUENCE_LENGTH="5" CONSENSUSSEQUENCE_STRING="ATTCG" GENETICACCESSIONNUMBER="[null]" HAPLOTYPE="[null]" ISBARCODE="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" CONTIGFILE_ID="[null]" DNASAMPLE_ID="5002" DNAMARKER_ID="[null]"/>
11 11
  <SINGLEREAD ID="5000" CREATED="2014-12-12 07:45:32.0" UUID="99a6ae0e-da91-4b88-89b1-68fc77c98ccf" UPDATED="2014-12-12 07:45:32.841" DESCRIPTION="[null]" TIMEPERIOD_END="[null]" TIMEPERIOD_FREETEXT="[null]" TIMEPERIOD_START="[null]" DIRECTION="[null]" SEQUENCE_LENGTH="[null]" SEQUENCE_STRING="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" ACTOR_ID="[null]" AMPLIFICATIONRESULT_ID="5000" MATERIALORMETHOD_ID="[null]" PHEROGRAM_ID="[null]" PRIMER_ID="[null]"/>
12 12
  <AMPLIFICATIONRESULT ID="5000" CREATED="2014-12-12 07:45:32.0" UUID="971c0c4f-868f-41c9-a84f-c041cc378eb9" UPDATED="2014-12-12 07:45:32.84" SUCCESSTEXT="[null]" SUCCESSFUL="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" CLONING_ID="[null]" DNASAMPLE_ID="5002" AMPLIFICATION_ID="[null]" GELPHOTO_ID="[null]"/>
13
<SPECIMENOROBSERVATIONBASE DTYPE="FieldUnit" ID="5003" CREATED="2014-12-12 07:45:32.0" UUID="ae798108-6483-4d09-900f-7f849c43bcc9" UPDATED="[null]" RECORDBASIS="FU" LSID_AUTHORITY="[null]" LSID_LSID="[null]" LSID_NAMESPACE="[null]" LSID_OBJECT="[null]" LSID_REVISION="[null]" PROTECTEDTITLECACHE="false" TITLECACHE="-title cache generation not implemented-" PUBLISH="true" INDIVIDUALCOUNT="[null]" ACCESSIONNUMBER="[null]" BARCODE="[null]" CATALOGNUMBER="[null]" COLLECTORSNUMBER="[null]" EXSICCATUM="[null]" ORIGINALLABELINFO="[null]" FIELDNOTES="[null]" FIELDNUMBER="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" LIFESTAGE_ID="[null]" SEX_ID="[null]" KINDOFUNIT_ID="[null]" COLLECTION_ID="[null]" DERIVEDFROM_ID="[null]" STOREDUNDER_ID="[null]" PRESERVATION_ID="[null]" GATHERINGEVENT_ID="[null]" PRIMARYCOLLECTOR_ID="[null]" MEDIASPECIMEN_ID="[null]" DNAQUALITY_ID="[null]" PROTECTEDIDENTITYCACHE="true" IDENTITYCACHE="ID1"/>
14
  <SPECIMENOROBSERVATIONBASE DTYPE="DerivedUnit" ID="5004" CREATED="2014-12-12 07:45:32.0" UUID="93fdcf99-af42-41dc-9e8d-ced93ad5188b" UPDATED="2014-12-12 07:45:32.838" RECORDBASIS="FS" LSID_AUTHORITY="[null]" LSID_LSID="[null]" LSID_NAMESPACE="[null]" LSID_OBJECT="[null]" LSID_REVISION="[null]" PROTECTEDTITLECACHE="false" TITLECACHE="class eu.etaxonomy.cdm.model.occurrence.DerivedUnit: 448be6e7-f19c-4a10-9a0a-97aa005f817d" PUBLISH="true" INDIVIDUALCOUNT="[null]" ACCESSIONNUMBER="[null]" BARCODE="[null]" CATALOGNUMBER="[null]" COLLECTORSNUMBER="[null]" EXSICCATUM="[null]" ORIGINALLABELINFO="[null]" FIELDNOTES="[null]" FIELDNUMBER="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" LIFESTAGE_ID="[null]" SEX_ID="[null]" KINDOFUNIT_ID="[null]" COLLECTION_ID="[null]" DERIVEDFROM_ID="5003" STOREDUNDER_ID="[null]" PRESERVATION_ID="[null]" GATHERINGEVENT_ID="[null]" PRIMARYCOLLECTOR_ID="[null]" MEDIASPECIMEN_ID="[null]" DNAQUALITY_ID="[null]" PROTECTEDIDENTITYCACHE="true" IDENTITYCACHE="ID1"/>
15
  <SPECIMENOROBSERVATIONBASE DTYPE="DnaSample" ID="5005" CREATED="2014-12-12 07:45:32.0" UUID="753a9363-7373-4022-98ab-061a6c8f7f10" UPDATED="2014-12-12 07:45:32.839" RECORDBASIS="DS" LSID_AUTHORITY="[null]" LSID_LSID="[null]" LSID_NAMESPACE="[null]" LSID_OBJECT="[null]" LSID_REVISION="[null]" PROTECTEDTITLECACHE="false" TITLECACHE="-title cache generation not implemented-" PUBLISH="true" INDIVIDUALCOUNT="[null]" ACCESSIONNUMBER="[null]" BARCODE="[null]" CATALOGNUMBER="[null]" COLLECTORSNUMBER="[null]" EXSICCATUM="[null]" ORIGINALLABELINFO="[null]" FIELDNOTES="[null]" FIELDNUMBER="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" LIFESTAGE_ID="[null]" SEX_ID="[null]" KINDOFUNIT_ID="[null]" COLLECTION_ID="[null]" DERIVEDFROM_ID="5004" STOREDUNDER_ID="[null]" PRESERVATION_ID="[null]" GATHERINGEVENT_ID="[null]" PRIMARYCOLLECTOR_ID="[null]" MEDIASPECIMEN_ID="[null]" DNAQUALITY_ID="[null]" PROTECTEDIDENTITYCACHE="true" IDENTITYCACHE="ID1"/>
16
  <SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT ORIGINALS_ID="5003" DERIVATIONEVENTS_ID="5002"/>
17
  <SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT ORIGINALS_ID="5004" DERIVATIONEVENTS_ID="5003"/>
18
  <DERIVATIONEVENT ID="5002" CREATED="2014-12-12 07:45:32.0" UUID="4576df35-d37a-40b3-8d7a-f95319e4c789" UPDATED="2014-12-12 07:45:32.837" DESCRIPTION="[null]" TIMEPERIOD_END="[null]" TIMEPERIOD_FREETEXT="[null]" TIMEPERIOD_START="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" ACTOR_ID="[null]" INSTITUTION_ID="[null]" TYPE_ID="2004"/>
19
  <DERIVATIONEVENT ID="5003" CREATED="2014-12-12 07:45:32.0" UUID="959b1e61-aee9-42c7-b600-11d6b2fbc065" UPDATED="2014-12-12 07:45:32.838" DESCRIPTION="[null]" TIMEPERIOD_END="[null]" TIMEPERIOD_FREETEXT="[null]" TIMEPERIOD_START="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" ACTOR_ID="[null]" INSTITUTION_ID="[null]" TYPE_ID="2001"/>
20
  <SEQUENCE ID="5001" CREATED="2014-12-12 07:45:32.0" UUID="112b188d-a27f-4cbf-8dca-06b181c96e85" UPDATED="2014-12-12 07:45:32.841" BARCODESEQUENCEPART_LENGTH="[null]" BARCODESEQUENCEPART_STRING="[null]" BOLDPROCESSID="[null]" CONSENSUSSEQUENCE_LENGTH="5" CONSENSUSSEQUENCE_STRING="ATTCG" GENETICACCESSIONNUMBER="[null]" HAPLOTYPE="[null]" ISBARCODE="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" CONTIGFILE_ID="[null]" DNASAMPLE_ID="5005" DNAMARKER_ID="[null]"/>
21
  <SINGLEREAD ID="5001" CREATED="2014-12-12 07:45:32.0" UUID="95627568-e707-483d-b8af-201bde71e7ae" UPDATED="2014-12-12 07:45:32.841" DESCRIPTION="[null]" TIMEPERIOD_END="[null]" TIMEPERIOD_FREETEXT="[null]" TIMEPERIOD_START="[null]" DIRECTION="[null]" SEQUENCE_LENGTH="[null]" SEQUENCE_STRING="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" ACTOR_ID="[null]" AMPLIFICATIONRESULT_ID="5001" MATERIALORMETHOD_ID="[null]" PHEROGRAM_ID="[null]" PRIMER_ID="[null]"/>
22
  <AMPLIFICATIONRESULT ID="5001" CREATED="2014-12-12 07:45:32.0" UUID="b865023f-aa73-4be1-9e16-f2c90b50b052" UPDATED="2014-12-12 07:45:32.84" SUCCESSTEXT="[null]" SUCCESSFUL="[null]" CREATEDBY_ID="[null]" UPDATEDBY_ID="[null]" CLONING_ID="[null]" DNASAMPLE_ID="5005" AMPLIFICATION_ID="[null]" GELPHOTO_ID="[null]"/>
13 23
</dataset>

Also available in: Unified diff