On Monday, October 20, 2014 10:23:03 AM UTC+2, stepan kachan wrote:
>
> Hi all, i decided to use GWT Request Factory instead of RPC because of
> complex type objects in my project. I face this error everytime when i try
> to remove entity from List.
>
> public class BasketItem implements Serializable{
> private Integer id;
> private PaymentState paymentState;
>
> public BasketItem() {
> super();
> }
>
> public BasketItem(PaymentState paymentState) {
> this.paymentState = paymentState;
> }
> public Integer getId() {
> return id;
> }
>
> void setId(Integer id) {
> this.id = id;
> }
>
Your setter is not 'public', that's (IIRC) the reason (if not done already,
we should probably add warnings in the annotation processor /
ValidationTool)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.