Revision 6ac86438
Added by Katja Luther over 14 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/FeatureTree.java | ||
---|---|---|
20 | 20 |
import javax.xml.bind.annotation.XmlAccessType; |
21 | 21 |
import javax.xml.bind.annotation.XmlAccessorType; |
22 | 22 |
import javax.xml.bind.annotation.XmlElement; |
23 |
import javax.xml.bind.annotation.XmlIDREF; |
|
23 | 24 |
import javax.xml.bind.annotation.XmlRootElement; |
25 |
import javax.xml.bind.annotation.XmlSchemaType; |
|
24 | 26 |
import javax.xml.bind.annotation.XmlType; |
25 | 27 |
|
26 | 28 |
import org.apache.log4j.Logger; |
... | ... | |
67 | 69 |
//private Set<FeatureNode> nodes = new HashSet<FeatureNode>(); |
68 | 70 |
|
69 | 71 |
@XmlElement(name = "Root") |
72 |
@XmlIDREF |
|
73 |
@XmlSchemaType(name="IDREF") |
|
70 | 74 |
@OneToOne(fetch = FetchType.LAZY) |
71 | 75 |
@Cascade({CascadeType.SAVE_UPDATE, CascadeType.MERGE}) |
72 | 76 |
private FeatureNode root; |
Also available in: Unified diff