Code:
class Person extends Record implements PersonInterface { String getName(){ return getAttribute("name"); } Integer getAge(){ return getAttributeAsInteger("age"); } void setAge(Integer age){ setAttribute("age",age); } ... }
It would be nice to specify an interface or superclass as well. This would allow client code to use Record stored data as if it were a POJO - so all that server validation logic/etc could be shared on client and server.