This is an old revision of the document!
ArrayList
public class MyRecord
{
private Integer id;
private String name;
public ArrayList<Object> asArray()
{
ArrayList<Object> arr = new ArrayList<Object>();
arr.add(this.id);
arr.add(this.name);
return arr;
}
}