There are 4 types of collections in OTrunk:
OTResourceList, OTResourceMap, OTObjectList, OTObjectMap
In all cases you should not use a set method in your OTClass. You only add a get method. The list object will be created automatically when it is requested.
An example on how to create an OTResourceList:
- Add a sample list to your OTML file:
- Add your desired list to your OT interface
- Next update its corresponding controller and process the values as you see fit