diff -r 77d86ffbf55b -r ec671fc8fb9c 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 01:02:49 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(); }