2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.jaxb
;
12 import javax
.xml
.bind
.annotation
.XmlAccessType
;
13 import javax
.xml
.bind
.annotation
.XmlAccessorType
;
14 import javax
.xml
.bind
.annotation
.XmlElement
;
15 import javax
.xml
.bind
.annotation
.XmlType
;
16 import javax
.xml
.bind
.annotation
.adapters
.XmlJavaTypeAdapter
;
18 import eu
.etaxonomy
.cdm
.model
.common
.IIdentifiableEntity
;
20 @XmlAccessorType(XmlAccessType
.FIELD
)
21 @XmlType(name
= "Namespace", namespace
="http://etaxonomy.eu/cdm/model/common/1.0", propOrder
= {
25 public class Namespace
{
27 @XmlElement(name
= "NSpace", namespace
="http://etaxonomy.eu/cdm/model/common/1.0", required
= true)
28 private String nspace
;
30 @XmlElement(name
= "Class", namespace
="http://etaxonomy.eu/cdm/model/common/1.0", required
= true)
31 @XmlJavaTypeAdapter(ClassAdapter
.class)
32 private Class
<?
extends IIdentifiableEntity
> clazz
;
34 public String
getNSpace() {
38 public void setNSpace(String nspace
) {
42 public Class
<?
extends IIdentifiableEntity
> getClazz() {
46 public void setClazz(Class
<?
extends IIdentifiableEntity
> clazz
) {