Project

General

Profile

Download (2.05 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2007 EDIT
3
 * European Distributed Institute of Taxonomy 
4
 * http://www.e-taxonomy.eu
5
 * 
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9

    
10
//
11
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.1-b01-fcs 
12
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
13
// Any modifications to this file will be lost upon recompilation of the source schema. 
14
// Generated on: 2007.08.01 at 10:51:47 AM BST 
15
//
16

    
17

    
18
package eu.etaxonomy.remote.dto.rdf;
19

    
20
import java.util.HashSet;
21
import java.util.Set;
22

    
23
import javax.xml.bind.annotation.XmlAccessType;
24
import javax.xml.bind.annotation.XmlAccessorType;
25
import javax.xml.bind.annotation.XmlElement;
26
import javax.xml.bind.annotation.XmlElements;
27
import javax.xml.bind.annotation.XmlRootElement;
28
import javax.xml.bind.annotation.XmlType;
29

    
30
import eu.etaxonomy.cdm.remote.dto.tdwg.BaseThing;
31
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.TaxonConcept;
32
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.SpeciesProfileModel;
33

    
34

    
35
@XmlAccessorType(XmlAccessType.FIELD)
36
@XmlType(name = "", propOrder = {
37
    "things"
38
})
39
@XmlRootElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
40
public class Rdf {
41

    
42
    @XmlElements({
43
	  @XmlElement(name = "TaxonConcept", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#", type = TaxonConcept.class),
44
	  @XmlElement(name = "SpeciesProfileModel", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#", type = SpeciesProfileModel.class),
45
	  @XmlElement(name = "NameInformation", namespace = "http://cybertaxonomy.eu/cdm/ontology/voc/NameInformation#")
46
    })
47
    protected Set<BaseThing> things = new HashSet<BaseThing>();
48

    
49
	public Set<BaseThing> getThings() {
50
		return things;
51
	}
52

    
53
	public void addThing(BaseThing thing) {
54
		this.things.add(thing);
55
	}
56
	
57
	public void removeThing(BaseThing thing) {
58
		this.things.remove(thing);
59
	}
60
}
    (1-1/1)