diff -r 77d86ffbf55b -r ac4a5fc868eb java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Mar 23 09:15:48 2010 +0100 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/xml/ClanekXML.java Tue Apr 06 00:50:30 2010 +0200 @@ -1,7 +1,6 @@ package cz.frantovo.nekurak.xml; import cz.frantovo.nekurak.dto.Clanek; -import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @@ -21,7 +20,7 @@ this.clanek = clanek; } - @XmlAttribute(name = "id", required = true) + @XmlElement public int getId() { return clanek.getId(); }