Project

General

Profile

Download (975 Bytes) 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
package eu.etaxonomy.cdm.remote.dto.tdwg.voc;
10

    
11
import java.io.Serializable;
12
import java.net.URI;
13

    
14
import javax.xml.bind.annotation.XmlAccessType;
15
import javax.xml.bind.annotation.XmlAccessorType;
16
import javax.xml.bind.annotation.XmlAttribute;
17
import javax.xml.bind.annotation.XmlType;
18

    
19
@XmlAccessorType(XmlAccessType.FIELD)
20
@XmlType(name = "", propOrder = {})
21
public abstract class LinkType {
22

    
23
	@XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
24
    protected URI resource;
25

    
26
	public Serializable getResource() {
27
		return resource;
28
	}
29

    
30
    public void setResource(eu.etaxonomy.cdm.common.URI resource) {
31
        this.resource = resource.getJavaUri();
32
    }
33
}
(3-3/12)