Hi all,

I'm trying to do this kind of things:

interface HasCode{

  void setCode(String code);

  String getCode();
}

interface IsIdentifiable{

  void setId(Long id);

  Long getId();

  Integer getVersion();

  void setVersion(Integer version);
}

@ProxyFor(AProxy.class)
interface AProxy extends EntityProxy,HasCode,IsIdentifiable{

}

Of course, these interfaces have been placed in my shared package and
I use them for my concretes entity classes on back side.
On Validation I have an error like this :

[INFO] diagnostic /src/main/java/com/test/cis/toto/shared/api/
HasLabel.java:6: Could not find domain method similar to void
setLabel(java.lang.String)
[INFO] diagnostic /src/main/java/com/test/cis/toto/shared/api/
HasLabel.java:8: Could not find domain method similar to
java.lang.String getLabel()

I didn't manage to find what is wrong. Can I do this or interface
composition has to be done only with interfaces which represents
concrete/abstract classes on the server ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to