I have RPC service that return an object of type GameEvent that
extends from Event (abstract). When I get the object on the client
side, all the properties inherited from Event (eventId, copyEventId,
gameTimeGMT) are set to null whereas on the server side, these
properties have values.

public class GameEvent extends Event implements IsSerializable {
    private String homeTeam;
    private String awayTeam;

    public GameEvent() {
    }

}

// Annotation are from the twig-persist framework which should not
impact the serialization process.
public abstract class Event implements IsSerializable {
    @Key
    private String eventId;
    @Index
    private String copyEventId;
    private Date gameTimeGMT;
    protected Event() {
    }
}

-- 
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