Project

General

Profile

Revision cf4196d1

IDcf4196d175e4542d9806c831b9d3402e25d398ba
Parent 36fc6b9d
Child 62779ba1

Added by Andreas Müller about 1 year ago

ref #6794 some adaptations in Jaxb to FeatureTree -> TermTree

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/jaxb/DataSet.java
83 83
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
84 84
import eu.etaxonomy.cdm.model.term.DefinedTerm;
85 85
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
86
import eu.etaxonomy.cdm.model.term.TermTree;
87 86
import eu.etaxonomy.cdm.model.term.OrderedTermVocabulary;
87
import eu.etaxonomy.cdm.model.term.TermTree;
88 88
import eu.etaxonomy.cdm.model.term.TermVocabulary;
89 89

  
90 90
/**
......
100 100
		"eventBases",
101 101
	    "references",
102 102
	    "typeDesignations",
103
	    "featureTrees",
103
	    "termTrees",
104 104
	    "polytomousKeys",
105 105
	    "taxonNodes",
106 106
	    "classifications",
......
181 181
    @XmlElement(name = "Collection", namespace = "http://etaxonomy.eu/cdm/model/occurrence/1.0")
182 182
    protected List<eu.etaxonomy.cdm.model.occurrence.Collection> collections = new ArrayList<>();
183 183

  
184
    @XmlElementWrapper(name = "FeatureTrees")
184
    @XmlElementWrapper(name = "TermTrees")
185 185
    @XmlElements({
186
      @XmlElement(name = "FeatureTree", namespace = "http://etaxonomy.eu/cdm/model/description/1.0", type = TermTree.class)
186
      @XmlElement(name = "TermTree", namespace = "http://etaxonomy.eu/cdm/model/description/1.0", type = TermTree.class)
187 187
    })
188
    protected List<TermTree> featureTrees = new ArrayList<>();
188
    protected List<TermTree> termTrees = new ArrayList<>();
189 189

  
190 190
    @XmlElementWrapper(name = "PolytomousKeys")
191 191
    @XmlElements({
......
334 334
        this.references = value;
335 335
    }
336 336

  
337
    public List<TermTree> getFeatureTrees() {
338
        return featureTrees;
337
    public List<TermTree> getTermTrees() {
338
        return termTrees;
339 339
    }
340 340

  
341 341
    public List<PolytomousKey> getPolytomousKeys() {
......
357 357
    }
358 358

  
359 359
    public void setFeatureTrees(List<TermTree> value) {
360
    	this.featureTrees = value;
360
    	this.termTrees = value;
361 361
    }
362 362

  
363 363
    public void setPolytomousKeys(List<PolytomousKey> value) {
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/jaxb/JaxbImport.java
318 318
		//txStatus = startTransaction();
319 319
		try {
320 320
			if (jaxbImpConfig.isDoFeatureData() == true) {
321
				if ((featureTrees = dataSet.getFeatureTrees()).size() > 0) {
321
				if ((featureTrees = dataSet.getTermTrees()).size() > 0) {
322 322
					logger.info("Feature data: " + featureTrees.size());
323 323
					getFeatureTreeService().saveOrUpdate(featureTrees);
324 324
				}
cdmlib-io/src/main/resources/schema/cdm/cdm.xsd
169 169
          </xs:sequence>
170 170
        </xs:complexType>
171 171
      </xs:element>
172
      <xs:element name="FeatureTrees" minOccurs="0">
172
      <xs:element name="TermTrees" minOccurs="0">
173 173
        <xs:complexType>
174 174
          <xs:sequence>
175 175
            <xs:choice minOccurs="0" maxOccurs="unbounded">
176
              <xs:element ref="description:FeatureTree" />
176
              <xs:element ref="description:TermTree" />
177 177
              <xs:element ref="description:PolytomousKey"/>
178 178
            </xs:choice>
179 179
          </xs:sequence>
cdmlib-io/src/main/resources/schema/cdm/description.xsd
37 37

  
38 38
  <xs:element name="TermNode" type="description:TermNode"/>
39 39

  
40
  <xs:element name="FeatureTree" type="description:FeatureTree"/>
40
  <xs:element name="TermTree" type="description:TermTree"/>
41 41
  
42 42
  <xs:element name="PolytomousKey" type="description:PolytomousKey"/>
43 43

  
......
95 95
    </xs:complexContent>
96 96
  </xs:complexType>
97 97

  
98
  <xs:complexType name="FeatureTree">
98
  <xs:complexType name="TermTree">
99 99
    <xs:complexContent>
100 100
      <xs:extension base="common:TermBase">
101 101
        <xs:sequence>
......
549 549
  
550 550
  <xs:complexType name="PolytomousKey">
551 551
    <xs:complexContent>
552
      <xs:extension base="description:FeatureTree">
552
      <xs:extension base="description:TermTree">
553 553
        <xs:sequence>
554 554
          <xs:element name="CoveredTaxa" minOccurs="0">
555 555
            <xs:complexType>
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/jaxb/FeatureTest.java
18 18
import org.junit.Ignore;
19 19
import org.junit.Test;
20 20

  
21
import eu.etaxonomy.cdm.model.description.Feature;
21
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
22 22
import eu.etaxonomy.cdm.model.term.TermNode;
23 23
import eu.etaxonomy.cdm.model.term.TermTree;
24 24

  
25 25
@Ignore  //does not work anymore since TermNode + Tree was moved to term package
26 26
public class FeatureTest {
27 27

  
28
	    private String resource = "/eu/etaxonomy/cdm/io/jaxb/FeatureTest.xml";
28
	    private String resource = "/eu/etaxonomy/cdm/io/jaxb/TermTreeTest.xml";
29 29

  
30 30
	    @Test
31 31
	    public void testUnmarshalFeatureTree() throws Exception {
......
33 33
	        URI uri = new URI(URIEncoder.encode(this.getClass().getResource(resource).toString()));
34 34
	        DataSet dataSet = cdmDocumentBuilder.unmarshal(DataSet.class, new InputStreamReader(this.getClass().getResourceAsStream(resource)),uri.toString());
35 35

  
36
			TermTree<Feature> featureTree = dataSet.getFeatureTrees().get(0);
37
			Feature feature = (Feature)dataSet.getTerms().get(1);
36
			TermTree<DefinedTermBase> termTree = dataSet.getTermTrees().get(0);
37
			DefinedTermBase term = dataSet.getTerms().get(1);
38 38

  
39
			assertNotNull("FeatureTree must not be null", featureTree);
40
			assertNotNull("Feature must not be null", feature);
39
			assertNotNull("TermTree must not be null", termTree);
40
			assertNotNull("Term must not be null", term);
41 41

  
42
			assertNotNull("FeatureTree.root must not be null", featureTree.getRoot());
43
			TermNode<Feature> root = featureTree.getRoot();
42
			assertNotNull("TermTree.root must not be null", termTree.getRoot());
43
			TermNode<DefinedTermBase> root = termTree.getRoot();
44 44
			assertNotNull("TermNode.term must not be null", root.getTerm());
45
			assertEquals("TermNode.feature must equal Feature", feature, root.getTerm());
45
			assertEquals("TermNode.feature must equal Feature", term, root.getTerm());
46 46

  
47 47
			assertNotNull("TermNode.children must not be null", root.getChildNodes());
48 48
			assertFalse("TermNode.children must not be empty", root.getChildNodes().isEmpty());
cdmlib-io/src/test/java/eu/etaxonomy/cdm/test/integration/TestCdmDbComparator.java
111 111
//			"DeterminationEvent_Marker",
112 112
//			"Extension",
113 113
			"TermRelation",
114
			"FeatureTree",
115
//			"FeatureTree_Representation",
114
			"TermTree",
115
//			"TermTree_Representation",
116 116
//			"GatheringEvent",
117 117
//			"GatheringEvent_Annotation",
118 118
//			"GatheringEvent_Marker",
cdmlib-io/src/test/resources/eu/etaxonomy/cdm/io/jaxb/DescriptionTest.xml
299 299
            </reference:DatePublished>
300 300
        </reference:Generic>
301 301
    </References>
302
    <FeatureTrees>
303
      <description:FeatureTree id="1" uuid="urn-uuid-6509b4ca-a872-45cc-b743-a0fe50fc8bb7">
302
    <TermTrees>
303
      <description:TermTree id="1" uuid="urn-uuid-6509b4ca-a872-45cc-b743-a0fe50fc8bb7">
304 304
            <description:Root id="1" uuid="urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc">
305 305
              <description:Feature>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</description:Feature>
306 306
              <description:Children>
......
352 352
                </description:Child>
353 353
              </description:Children>
354 354
            </description:Root>
355
        </description:FeatureTree>
356
    </FeatureTrees>
355
        </description:TermTree>
356
    </TermTrees>
357 357
    <TaxonomicNames>
358 358
        <name:BotanicalName id="1" uuid="urn-uuid-a9036d14-7be1-42bc-bb74-87be966f3a01" hasProblem="false" problemStarts="-1" problemEnds="-1">
359 359
          <common:TitleCache>Aus aus, L. 1758</common:TitleCache>
cdmlib-io/src/test/resources/eu/etaxonomy/cdm/io/jaxb/FeatureTest.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<DataSet xmlns="http://etaxonomy.eu/cdm/model/1.0"
3
    xmlns:common="http://etaxonomy.eu/cdm/model/common/1.0"
4
    xmlns:description="http://etaxonomy.eu/cdm/model/description/1.0"
5
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
    xsi:schemaLocation="http://etaxonomy.eu/cdm/model/1.0
7
                        ../../../../../../classes/schema/cdm/cdm.xsd">
8
    <Terms>
9
        <common:Language uuid="urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d" iso639_1="en" iso639_2="eng">
10
            <common:TitleCache>English</common:TitleCache>
11
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
12
        </common:Language>
13
        <description:Feature uuid="urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c">
14
            <common:TitleCache>General</common:TitleCache>
15
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
16
            <common:Representations>
17
                <common:Representation uuid="urn-uuid-00456f86-2e2f-47e2-a763-bd51094cd9c8">
18
                    <common:Text>General</common:Text>
19
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
20
                    <common:Label>General</common:Label>
21
                </common:Representation>
22
            </common:Representations>
23
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
24
            <common:Generalizations>
25
                <common:GeneralizationOf>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</common:GeneralizationOf>
26
                <common:GeneralizationOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:GeneralizationOf>
27
                <common:GeneralizationOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:GeneralizationOf>
28
                <common:GeneralizationOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:GeneralizationOf>
29
            </common:Generalizations>
30
            <description:SupportsTextData>false</description:SupportsTextData>
31
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
32
            <description:SupportsDistribution>false</description:SupportsDistribution>
33
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
34
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
35
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
36
            <description:SupportsCategoricalData>false</description:SupportsCategoricalData>
37
        </description:Feature>
38
        <description:Feature  uuid="urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd">
39
            <common:TitleCache>Habitus</common:TitleCache>
40
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
41
            <common:Representations>
42
                <common:Representation  uuid="urn-uuid-d7ea34b3-9bd8-4b9d-989e-40bedcb96896">
43
                    <common:Text>Habitus</common:Text>
44
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
45
                    <common:Label>Habitus</common:Label>
46
                </common:Representation>
47
            </common:Representations>            
48
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
49
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
50
            <description:SupportsTextData>false</description:SupportsTextData>
51
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
52
            <description:SupportsDistribution>false</description:SupportsDistribution>
53
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
54
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
55
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
56
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
57
        </description:Feature>
58
        <description:Feature  uuid="urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513">
59
            <common:TitleCache>Body</common:TitleCache>
60
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
61
            <common:Representations>
62
                <common:Representation  uuid="urn-uuid-be42a8f1-be83-4117-8f4a-0300c13937fd">
63
                    <common:Text>Body</common:Text>
64
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
65
                    <common:Label>Body</common:Label>
66
                </common:Representation>
67
            </common:Representations>
68
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
69
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
70
            <common:Generalizations>
71
                <common:GeneralizationOf>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</common:GeneralizationOf>
72
                <common:GeneralizationOf>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</common:GeneralizationOf>
73
            </common:Generalizations>          
74
            <description:SupportsTextData>false</description:SupportsTextData>
75
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
76
            <description:SupportsDistribution>false</description:SupportsDistribution>
77
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
78
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
79
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
80
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
81
        </description:Feature>
82
        <description:Feature  uuid="urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d">
83
            <common:TitleCache>Body Upperside</common:TitleCache>
84
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
85
            <common:Representations>
86
                <common:Representation  uuid="urn-uuid-6c415cd7-af7b-4c17-a4f0-c14301dd1dc9">
87
                    <common:Text>Body Upperside</common:Text>
88
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
89
                    <common:Label>Body Upperside</common:Label>
90
                </common:Representation>
91
            </common:Representations>
92
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
93
            <common:KindOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:KindOf>
94
            <description:SupportsTextData>false</description:SupportsTextData>
95
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
96
            <description:SupportsDistribution>false</description:SupportsDistribution>
97
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
98
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
99
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
100
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
101
        </description:Feature>
102
        <description:Feature  uuid="urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a">
103
            <common:TitleCache>Body Underside</common:TitleCache>
104
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
105
            <common:Representations>
106
                <common:Representation  uuid="urn-uuid-3fb097e1-e0c7-4b68-bb99-a98edf51699c">
107
                    <common:Text>Body Underside</common:Text>
108
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
109
                    <common:Label>Body Underside</common:Label>
110
                </common:Representation>
111
            </common:Representations>
112
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
113
            <common:KindOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:KindOf>            
114
            <description:SupportsTextData>false</description:SupportsTextData>
115
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
116
            <description:SupportsDistribution>false</description:SupportsDistribution>
117
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
118
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
119
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
120
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
121
        </description:Feature>
122
        <description:Feature  uuid="urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7">
123
            <common:TitleCache>Forewing</common:TitleCache>
124
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
125
            <common:Representations>
126
                <common:Representation  uuid="urn-uuid-c3947d3a-67fb-4e6d-9aee-fb6784f6b872">
127
                    <common:Text>Forewing</common:Text>
128
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
129
                    <common:Label>Forewing</common:Label>
130
                </common:Representation>
131
            </common:Representations>
132
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
133
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
134
            <common:Generalizations>
135
                <common:GeneralizationOf>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</common:GeneralizationOf>
136
                <common:GeneralizationOf>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</common:GeneralizationOf>
137
            </common:Generalizations>
138
            <description:SupportsTextData>false</description:SupportsTextData>
139
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
140
            <description:SupportsDistribution>false</description:SupportsDistribution>
141
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
142
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
143
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
144
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
145
        </description:Feature>
146
        <description:Feature  uuid="urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3">
147
            <common:TitleCache>Forewing Upperside</common:TitleCache>
148
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
149
            <common:Representations>
150
                <common:Representation  uuid="urn-uuid-bff6a2d8-c47b-4609-bc86-92ccfab43c58">
151
                    <common:Text>Forewing Upperside</common:Text>
152
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
153
                    <common:Label>Forewing Upperside</common:Label>
154
                </common:Representation>
155
            </common:Representations>
156
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
157
            <common:KindOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:KindOf>
158
            <description:SupportsTextData>false</description:SupportsTextData>
159
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
160
            <description:SupportsDistribution>false</description:SupportsDistribution>
161
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
162
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
163
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
164
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
165
        </description:Feature>
166
        <description:Feature  uuid="urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a">
167
            <common:TitleCache>Forewing Underside</common:TitleCache>
168
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
169
            <common:Representations>
170
                <common:Representation  uuid="urn-uuid-1a39da20-a3b5-4e25-a8bf-2a65a1b59059">
171
                    <common:Text>Forewing Underside</common:Text>
172
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
173
                    <common:Label>Forewing Underside</common:Label>
174
                </common:Representation>
175
            </common:Representations>
176
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
177
            <common:KindOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:KindOf>            
178
            <description:SupportsTextData>false</description:SupportsTextData>
179
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
180
            <description:SupportsDistribution>false</description:SupportsDistribution>
181
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
182
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
183
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
184
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
185
        </description:Feature>
186
        <description:Feature  uuid="urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775">
187
            <common:TitleCache>Hindwing</common:TitleCache>
188
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
189
            <common:Representations>
190
                <common:Representation  uuid="urn-uuid-6b566114-0f20-4b34-8159-7af117cb2c50">
191
                    <common:Text>Hindwing</common:Text>
192
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
193
                    <common:Label>Hindwing</common:Label>
194
                </common:Representation>
195
            </common:Representations>
196
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
197
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
198
            <common:Generalizations>
199
                <common:GeneralizationOf>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</common:GeneralizationOf>
200
                <common:GeneralizationOf>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</common:GeneralizationOf>
201
            </common:Generalizations>
202
            <description:SupportsTextData>false</description:SupportsTextData>
203
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
204
            <description:SupportsDistribution>false</description:SupportsDistribution>
205
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
206
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
207
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
208
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
209
        </description:Feature>
210
        <description:Feature  uuid="urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967">
211
            <common:TitleCache>Hindwing Upperside</common:TitleCache>
212
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
213
            <common:Representations>
214
                <common:Representation  uuid="urn-uuid-1d8ca60d-6249-4d7d-82a0-7d0930220ece">
215
                    <common:Text>Hindwing Upperside</common:Text>
216
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
217
                    <common:Label>Hindwing Upperside</common:Label>
218
                </common:Representation>
219
            </common:Representations>
220
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
221
            <common:KindOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:KindOf>            
222
            <description:SupportsTextData>false</description:SupportsTextData>
223
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
224
            <description:SupportsDistribution>false</description:SupportsDistribution>
225
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
226
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
227
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
228
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
229
        </description:Feature>
230
        <description:Feature  uuid="urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6">
231
            <common:TitleCache>Hindwing Underside</common:TitleCache>
232
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
233
            <common:Representations>
234
                <common:Representation  uuid="urn-uuid-6a6725b8-c7e9-4e1c-b73b-7a0b29843a17">
235
                    <common:Text>Hindwing Underside</common:Text>
236
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
237
                    <common:Label>Hindwing Underside</common:Label>
238
                </common:Representation>
239
            </common:Representations>
240
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
241
            <common:KindOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:KindOf>
242
            <description:SupportsTextData>false</description:SupportsTextData>
243
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
244
            <description:SupportsDistribution>false</description:SupportsDistribution>
245
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
246
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
247
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
248
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
249
        </description:Feature>
250
    </Terms>
251
    <TermVocabularies>
252
        <common:TermVocabulary  uuid="urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d">
253
            <common:TitleCache>Diagnosis Terms</common:TitleCache>
254
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
255
            <common:TermSourceURI>http://www.cate-sphingidae.org</common:TermSourceURI>
256
            <common:Terms>
257
                <common:Term>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:Term>
258
                <common:Term>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</common:Term>
259
                <common:Term>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:Term>
260
                <common:Term>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</common:Term>
261
                <common:Term>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</common:Term>
262
                <common:Term>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:Term>
263
                <common:Term>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</common:Term>
264
                <common:Term>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</common:Term>
265
                <common:Term>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:Term>
266
                <common:Term>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</common:Term>
267
                <common:Term>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</common:Term>
268
            </common:Terms>
269
        </common:TermVocabulary>
270
    </TermVocabularies>
271
    <FeatureTrees>
272
      <description:FeatureTree  uuid="urn-uuid-6509b4ca-a872-45cc-b743-a0fe50fc8bb7">
273
           <common:TitleCache>Feature Tree</common:TitleCache>
274
           <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
275
            <description:Root  uuid="urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc">
276
              <description:Term>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</description:Term>
277
              <description:Children>
278
                <description:Child  uuid="urn-uuid-38beaff6-00b9-4f32-8f70-d33153b8fe0f">
279
                  <description:Term>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</description:Term>
280
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
281
                </description:Child>
282
                <description:Child  uuid="urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf">
283
                  <description:Term>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</description:Term>
284
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
285
                  <description:Children>
286
                    <description:Child  uuid="urn-uuid-4438f658-8b78-4e33-af36-584e088703d2">
287
                      <description:Term>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</description:Term>
288
                      <description:Parent>urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf</description:Parent>
289
                    </description:Child>
290
                    <description:Child  uuid="urn-uuid-d458aef3-40f2-47c3-bc64-0a8191428df0">
291
                      <description:Term>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</description:Term>
292
                      <description:Parent>urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf</description:Parent>
293
                    </description:Child>
294
                  </description:Children>
295
                </description:Child>
296
                <description:Child  uuid="urn-uuid-20070dea-4455-444e-b7be-fd771370b85a">
297
                  <description:Term>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</description:Term>
298
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
299
                  <description:Children>
300
                    <description:Child  uuid="urn-uuid-588e66df-eba4-4c00-a05d-e604fa9994a5">
301
                      <description:Term>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</description:Term>
302
                      <description:Parent>urn-uuid-20070dea-4455-444e-b7be-fd771370b85a</description:Parent>
303
                    </description:Child>
304
                    <description:Child  uuid="urn-uuid-f3f4617c-0a02-47a4-92f9-4790ff1156ee">
305
                      <description:Term>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</description:Term>
306
                      <description:Parent>urn-uuid-20070dea-4455-444e-b7be-fd771370b85a</description:Parent>
307
                    </description:Child>
308
                  </description:Children>
309
                </description:Child>
310
                <description:Child  uuid="urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c">
311
                  <description:Term>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</description:Term>
312
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
313
                  <description:Children>
314
                    <description:Child  uuid="urn-uuid-b92df49d-2a58-4684-b478-397d506aea18">
315
                      <description:Term>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</description:Term>
316
                      <description:Parent>urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c</description:Parent>
317
                    </description:Child>
318
                    <description:Child  uuid="urn-uuid-c9e61521-b474-4558-9a74-fd5731f52447">
319
                      <description:Term>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</description:Term>
320
                      <description:Parent>urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c</description:Parent>
321
                    </description:Child>
322
                  </description:Children>
323
                </description:Child>
324
              </description:Children>
325
            </description:Root>
326
        </description:FeatureTree>
327
    </FeatureTrees>
328
</DataSet>
cdmlib-io/src/test/resources/eu/etaxonomy/cdm/io/jaxb/TermTreeTest.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<DataSet xmlns="http://etaxonomy.eu/cdm/model/1.0"
3
    xmlns:common="http://etaxonomy.eu/cdm/model/common/1.0"
4
    xmlns:description="http://etaxonomy.eu/cdm/model/description/1.0"
5
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
    xsi:schemaLocation="http://etaxonomy.eu/cdm/model/1.0
7
                        ../../../../../../classes/schema/cdm/cdm.xsd">
8
    <Terms>
9
        <common:Language uuid="urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d" iso639_1="en" iso639_2="eng">
10
            <common:TitleCache>English</common:TitleCache>
11
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
12
        </common:Language>
13
        <description:Feature uuid="urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c">
14
            <common:TitleCache>General</common:TitleCache>
15
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
16
            <common:Representations>
17
                <common:Representation uuid="urn-uuid-00456f86-2e2f-47e2-a763-bd51094cd9c8">
18
                    <common:Text>General</common:Text>
19
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
20
                    <common:Label>General</common:Label>
21
                </common:Representation>
22
            </common:Representations>
23
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
24
            <common:Generalizations>
25
                <common:GeneralizationOf>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</common:GeneralizationOf>
26
                <common:GeneralizationOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:GeneralizationOf>
27
                <common:GeneralizationOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:GeneralizationOf>
28
                <common:GeneralizationOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:GeneralizationOf>
29
            </common:Generalizations>
30
            <description:SupportsTextData>false</description:SupportsTextData>
31
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
32
            <description:SupportsDistribution>false</description:SupportsDistribution>
33
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
34
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
35
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
36
            <description:SupportsCategoricalData>false</description:SupportsCategoricalData>
37
        </description:Feature>
38
        <description:Feature  uuid="urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd">
39
            <common:TitleCache>Habitus</common:TitleCache>
40
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
41
            <common:Representations>
42
                <common:Representation  uuid="urn-uuid-d7ea34b3-9bd8-4b9d-989e-40bedcb96896">
43
                    <common:Text>Habitus</common:Text>
44
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
45
                    <common:Label>Habitus</common:Label>
46
                </common:Representation>
47
            </common:Representations>            
48
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
49
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
50
            <description:SupportsTextData>false</description:SupportsTextData>
51
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
52
            <description:SupportsDistribution>false</description:SupportsDistribution>
53
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
54
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
55
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
56
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
57
        </description:Feature>
58
        <description:Feature  uuid="urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513">
59
            <common:TitleCache>Body</common:TitleCache>
60
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
61
            <common:Representations>
62
                <common:Representation  uuid="urn-uuid-be42a8f1-be83-4117-8f4a-0300c13937fd">
63
                    <common:Text>Body</common:Text>
64
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
65
                    <common:Label>Body</common:Label>
66
                </common:Representation>
67
            </common:Representations>
68
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
69
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
70
            <common:Generalizations>
71
                <common:GeneralizationOf>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</common:GeneralizationOf>
72
                <common:GeneralizationOf>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</common:GeneralizationOf>
73
            </common:Generalizations>          
74
            <description:SupportsTextData>false</description:SupportsTextData>
75
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
76
            <description:SupportsDistribution>false</description:SupportsDistribution>
77
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
78
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
79
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
80
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
81
        </description:Feature>
82
        <description:Feature  uuid="urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d">
83
            <common:TitleCache>Body Upperside</common:TitleCache>
84
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
85
            <common:Representations>
86
                <common:Representation  uuid="urn-uuid-6c415cd7-af7b-4c17-a4f0-c14301dd1dc9">
87
                    <common:Text>Body Upperside</common:Text>
88
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
89
                    <common:Label>Body Upperside</common:Label>
90
                </common:Representation>
91
            </common:Representations>
92
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
93
            <common:KindOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:KindOf>
94
            <description:SupportsTextData>false</description:SupportsTextData>
95
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
96
            <description:SupportsDistribution>false</description:SupportsDistribution>
97
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
98
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
99
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
100
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
101
        </description:Feature>
102
        <description:Feature  uuid="urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a">
103
            <common:TitleCache>Body Underside</common:TitleCache>
104
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
105
            <common:Representations>
106
                <common:Representation  uuid="urn-uuid-3fb097e1-e0c7-4b68-bb99-a98edf51699c">
107
                    <common:Text>Body Underside</common:Text>
108
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
109
                    <common:Label>Body Underside</common:Label>
110
                </common:Representation>
111
            </common:Representations>
112
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
113
            <common:KindOf>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:KindOf>            
114
            <description:SupportsTextData>false</description:SupportsTextData>
115
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
116
            <description:SupportsDistribution>false</description:SupportsDistribution>
117
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
118
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
119
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
120
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
121
        </description:Feature>
122
        <description:Feature  uuid="urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7">
123
            <common:TitleCache>Forewing</common:TitleCache>
124
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
125
            <common:Representations>
126
                <common:Representation  uuid="urn-uuid-c3947d3a-67fb-4e6d-9aee-fb6784f6b872">
127
                    <common:Text>Forewing</common:Text>
128
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
129
                    <common:Label>Forewing</common:Label>
130
                </common:Representation>
131
            </common:Representations>
132
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
133
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
134
            <common:Generalizations>
135
                <common:GeneralizationOf>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</common:GeneralizationOf>
136
                <common:GeneralizationOf>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</common:GeneralizationOf>
137
            </common:Generalizations>
138
            <description:SupportsTextData>false</description:SupportsTextData>
139
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
140
            <description:SupportsDistribution>false</description:SupportsDistribution>
141
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
142
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
143
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
144
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
145
        </description:Feature>
146
        <description:Feature  uuid="urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3">
147
            <common:TitleCache>Forewing Upperside</common:TitleCache>
148
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
149
            <common:Representations>
150
                <common:Representation  uuid="urn-uuid-bff6a2d8-c47b-4609-bc86-92ccfab43c58">
151
                    <common:Text>Forewing Upperside</common:Text>
152
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
153
                    <common:Label>Forewing Upperside</common:Label>
154
                </common:Representation>
155
            </common:Representations>
156
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
157
            <common:KindOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:KindOf>
158
            <description:SupportsTextData>false</description:SupportsTextData>
159
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
160
            <description:SupportsDistribution>false</description:SupportsDistribution>
161
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
162
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
163
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
164
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
165
        </description:Feature>
166
        <description:Feature  uuid="urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a">
167
            <common:TitleCache>Forewing Underside</common:TitleCache>
168
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
169
            <common:Representations>
170
                <common:Representation  uuid="urn-uuid-1a39da20-a3b5-4e25-a8bf-2a65a1b59059">
171
                    <common:Text>Forewing Underside</common:Text>
172
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
173
                    <common:Label>Forewing Underside</common:Label>
174
                </common:Representation>
175
            </common:Representations>
176
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
177
            <common:KindOf>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:KindOf>            
178
            <description:SupportsTextData>false</description:SupportsTextData>
179
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
180
            <description:SupportsDistribution>false</description:SupportsDistribution>
181
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
182
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
183
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
184
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
185
        </description:Feature>
186
        <description:Feature  uuid="urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775">
187
            <common:TitleCache>Hindwing</common:TitleCache>
188
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
189
            <common:Representations>
190
                <common:Representation  uuid="urn-uuid-6b566114-0f20-4b34-8159-7af117cb2c50">
191
                    <common:Text>Hindwing</common:Text>
192
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
193
                    <common:Label>Hindwing</common:Label>
194
                </common:Representation>
195
            </common:Representations>
196
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
197
            <common:KindOf>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:KindOf>
198
            <common:Generalizations>
199
                <common:GeneralizationOf>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</common:GeneralizationOf>
200
                <common:GeneralizationOf>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</common:GeneralizationOf>
201
            </common:Generalizations>
202
            <description:SupportsTextData>false</description:SupportsTextData>
203
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
204
            <description:SupportsDistribution>false</description:SupportsDistribution>
205
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
206
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
207
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
208
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
209
        </description:Feature>
210
        <description:Feature  uuid="urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967">
211
            <common:TitleCache>Hindwing Upperside</common:TitleCache>
212
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
213
            <common:Representations>
214
                <common:Representation  uuid="urn-uuid-1d8ca60d-6249-4d7d-82a0-7d0930220ece">
215
                    <common:Text>Hindwing Upperside</common:Text>
216
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
217
                    <common:Label>Hindwing Upperside</common:Label>
218
                </common:Representation>
219
            </common:Representations>
220
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
221
            <common:KindOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:KindOf>            
222
            <description:SupportsTextData>false</description:SupportsTextData>
223
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
224
            <description:SupportsDistribution>false</description:SupportsDistribution>
225
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
226
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
227
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
228
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
229
        </description:Feature>
230
        <description:Feature  uuid="urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6">
231
            <common:TitleCache>Hindwing Underside</common:TitleCache>
232
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
233
            <common:Representations>
234
                <common:Representation  uuid="urn-uuid-6a6725b8-c7e9-4e1c-b73b-7a0b29843a17">
235
                    <common:Text>Hindwing Underside</common:Text>
236
                    <common:Language>urn-uuid-27024e60-a78a-4950-8fda-e43b4c58a01d</common:Language>
237
                    <common:Label>Hindwing Underside</common:Label>
238
                </common:Representation>
239
            </common:Representations>
240
            <common:TermVocabulary>urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d</common:TermVocabulary>
241
            <common:KindOf>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:KindOf>
242
            <description:SupportsTextData>false</description:SupportsTextData>
243
            <description:SupportsQuantitativeData>false</description:SupportsQuantitativeData>
244
            <description:SupportsDistribution>false</description:SupportsDistribution>
245
            <description:SupportsIndividualAssociation>false</description:SupportsIndividualAssociation>
246
            <description:SupportsTaxonInteraction>false</description:SupportsTaxonInteraction>
247
            <description:SupportsCommonTaxonName>false</description:SupportsCommonTaxonName>
248
            <description:SupportsCategoricalData>true</description:SupportsCategoricalData>
249
        </description:Feature>
250
    </Terms>
251
    <TermVocabularies>
252
        <common:TermVocabulary  uuid="urn-uuid-93a570fd-631d-464d-9b0a-8698b5ae3b8d">
253
            <common:TitleCache>Diagnosis Terms</common:TitleCache>
254
            <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
255
            <common:TermSourceURI>http://www.cate-sphingidae.org</common:TermSourceURI>
256
            <common:Terms>
257
                <common:Term>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</common:Term>
258
                <common:Term>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</common:Term>
259
                <common:Term>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</common:Term>
260
                <common:Term>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</common:Term>
261
                <common:Term>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</common:Term>
262
                <common:Term>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</common:Term>
263
                <common:Term>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</common:Term>
264
                <common:Term>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</common:Term>
265
                <common:Term>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</common:Term>
266
                <common:Term>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</common:Term>
267
                <common:Term>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</common:Term>
268
            </common:Terms>
269
        </common:TermVocabulary>
270
    </TermVocabularies>
271
    <TermTrees>
272
      <description:TermTree  uuid="urn-uuid-6509b4ca-a872-45cc-b743-a0fe50fc8bb7">
273
           <common:TitleCache>Feature Tree</common:TitleCache>
274
           <common:ProtectedTitleCache>true</common:ProtectedTitleCache>
275
            <description:Root  uuid="urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc">
276
              <description:Term>urn-uuid-e40912a5-3e36-4d1e-aee9-dc57a83fa81c</description:Term>
277
              <description:Children>
278
                <description:Child  uuid="urn-uuid-38beaff6-00b9-4f32-8f70-d33153b8fe0f">
279
                  <description:Term>urn-uuid-98cd50c9-3938-471b-b4d7-fe61b2f19efd</description:Term>
280
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
281
                </description:Child>
282
                <description:Child  uuid="urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf">
283
                  <description:Term>urn-uuid-0a9af077-0927-4655-9892-3a4bb3233513</description:Term>
284
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
285
                  <description:Children>
286
                    <description:Child  uuid="urn-uuid-4438f658-8b78-4e33-af36-584e088703d2">
287
                      <description:Term>urn-uuid-c015b086-f5a9-4132-afa8-e6de6ec8406d</description:Term>
288
                      <description:Parent>urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf</description:Parent>
289
                    </description:Child>
290
                    <description:Child  uuid="urn-uuid-d458aef3-40f2-47c3-bc64-0a8191428df0">
291
                      <description:Term>urn-uuid-92534c0b-bb6c-415d-9ebf-96402ea2413a</description:Term>
292
                      <description:Parent>urn-uuid-a5700c2f-8630-46e7-a900-59c9a612fbaf</description:Parent>
293
                    </description:Child>
294
                  </description:Children>
295
                </description:Child>
296
                <description:Child  uuid="urn-uuid-20070dea-4455-444e-b7be-fd771370b85a">
297
                  <description:Term>urn-uuid-c64b38a9-e8a9-4e32-8aba-69f2c83496c7</description:Term>
298
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
299
                  <description:Children>
300
                    <description:Child  uuid="urn-uuid-588e66df-eba4-4c00-a05d-e604fa9994a5">
301
                      <description:Term>urn-uuid-3baf0225-619d-48d8-9017-bd673ca23dd3</description:Term>
302
                      <description:Parent>urn-uuid-20070dea-4455-444e-b7be-fd771370b85a</description:Parent>
303
                    </description:Child>
304
                    <description:Child  uuid="urn-uuid-f3f4617c-0a02-47a4-92f9-4790ff1156ee">
305
                      <description:Term>urn-uuid-4d2c9e16-20b7-4a87-958f-57c9ffaa6c0a</description:Term>
306
                      <description:Parent>urn-uuid-20070dea-4455-444e-b7be-fd771370b85a</description:Parent>
307
                    </description:Child>
308
                  </description:Children>
309
                </description:Child>
310
                <description:Child  uuid="urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c">
311
                  <description:Term>urn-uuid-2d69a75b-7557-4c8d-b212-0bd8e59a2775</description:Term>
312
                  <description:Parent>urn-uuid-a137ed36-383f-49a9-8d84-976361188bcc</description:Parent>
313
                  <description:Children>
314
                    <description:Child  uuid="urn-uuid-b92df49d-2a58-4684-b478-397d506aea18">
315
                      <description:Term>urn-uuid-4dab37e3-80a2-4c86-9b60-eba4d4578967</description:Term>
316
                      <description:Parent>urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c</description:Parent>
317
                    </description:Child>
318
                    <description:Child  uuid="urn-uuid-c9e61521-b474-4558-9a74-fd5731f52447">
319
                      <description:Term>urn-uuid-1aeb4db9-0496-4632-9d6c-471f65d717e6</description:Term>
320
                      <description:Parent>urn-uuid-0ae5afe1-a0c4-4585-be09-d0cf295b671c</description:Parent>
321
                    </description:Child>
322
                  </description:Children>
323
                </description:Child>
324
              </description:Children>
325
            </description:Root>
326
        </description:TermTree>
327
    </TermTrees>
328
</DataSet>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)