1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Mar 23 09:15:48 2010 +0100
1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Apr 06 00:50:30 2010 +0200
1.3 @@ -1,7 +1,6 @@
1.4 package cz.frantovo.nekurak.xml;
1.5
1.6 import cz.frantovo.nekurak.dto.Clanek;
1.7 -import javax.xml.bind.annotation.XmlAttribute;
1.8 import javax.xml.bind.annotation.XmlElement;
1.9 import javax.xml.bind.annotation.XmlRootElement;
1.10
1.11 @@ -21,7 +20,7 @@
1.12 this.clanek = clanek;
1.13 }
1.14
1.15 - @XmlAttribute(name = "id", required = true)
1.16 + @XmlElement
1.17 public int getId() {
1.18 return clanek.getId();
1.19 }