[ http://jira.codehaus.org/browse/XFIRE-302?page=all ]
Dan Diephouse updated XFIRE-302:
--------------------------------
Fix Version: (was: 1.1)
Hmm now that I look at this a bit more, I'm really not keen on it. You're
welcome to submit some patch, but I am not a fan of throwing away the value
with no exception. If its read only, we should definitely give some error if
someone writes to it.
> Allow read-only property
> ------------------------
>
> Key: XFIRE-302
> URL: http://jira.codehaus.org/browse/XFIRE-302
> Project: XFire
> Type: Wish
> Versions: 1.0
> Reporter: Jara Cesnek
> Assignee: Dan Diephouse
>
>
> Add possibility to export beans with read-only property.
> Now if I export POJO with only getXXX method, exception is thrown
> when this POJO comes back from webservice. This is wrong.
> I want to refuse this values. So there is two solutions.
> 1) When property has not setXXX method silently throw away value with no
> exception.
> 2) If first is against some rules. Add to @XmlElement readonly flag.
> Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira