Project

General

Profile

Revision 224d902d

ID224d902d745b991c4ea3bce9951feac1bb88b565
Parent ae4ea6d7
Child f78fa936

Added by Andreas Kohlbecker about 3 years ago

fix #6948 ref #6324 commenting and removing broken dozer mapping for synonymRelations

View differences:

cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/tdwg/mappings-deep.xml
106 106
          <a-hint>eu.etaxonomy.cdm.model.taxon.TaxonRelationship</a-hint>
107 107
          <b-hint>eu.etaxonomy.cdm.remote.dto.tdwg.voc.Relationship</b-hint>
108 108
        </field>
109
        <!-- FIXME: complete mapping #6324 
109 110
        <field>
110
          <!-- FIXME: this mapping is no longer valid see issue #6324 -->
111
          <a>synonymRelations</a>
111
          <a>synonyms</a>
112 112
          <b>hasRelationship</b>
113
          <a-hint>eu.etaxonomy.cdm.model.taxon.TaxonRelationship</a-hint>
113
          <a-hint>eu.etaxonomy.cdm.model.taxon.Synonym</a-hint>
114 114
          <b-hint>eu.etaxonomy.cdm.remote.dto.tdwg.voc.Relationship</b-hint>
115
          // Synonym can not be directly mapped to Relationship !!!!
115 116
        </field>
117
          -->
116 118
        <field>
117 119
            <a>descriptions</a>
118 120
            <b>describedBy</b>
......
147 149
           <a>updatedBy.username</a>
148 150
           <b>contributor</b>
149 151
       </field-exclude>
150
    </mapping> 
151
    
152
    <mapping> 
153
        <class-a>eu.etaxonomy.cdm.model.taxon.SynonymRelationship</class-a>
154
        <class-b>eu.etaxonomy.cdm.remote.dto.tdwg.voc.Relationship</class-b>
155
        <field>
156
            <a>synonym</a>
157
            <b>fromTaxon</b>
158
        </field>
159
        <field>
160
            <a>acceptedTaxon</a>
161
            <b>toTaxon</b>
162
        </field>
163
        <field-exclude>
164
            <a>createdBy.username</a>
165
            <b>creator</b>
166
        </field-exclude>
167
        <field-exclude>
168
            <a>updatedBy.username</a>
169
            <b>contributor</b>
170
        </field-exclude>        
171 152
    </mapping>
172 153
    
173 154
</mappings>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)