I have read some tutorials, documentations but i don't know how to define a class that extend from BaseModel or ModelData? Specifically, I don't know how to name getter and setter methods and the values inside the method. Are there any code convention? Example:
public void setName(String value) { set("name", value); //why is it "name"? does it relate to a attribute of Data Object? } public String getName() { return get("name"); }
In "Appress Developing with ExtGWT" they said: "ModelData allows a widget to interrogate data objects without having to have concrete support for any particular data type, providing separation from the model and view".
Could i infer that instead of creating a instance like:
Foo foo= new Foo(); foo.getName();
I can call "getName()" ?