protected List < ActivityRecord > getObjectInstances ( List < ActivityRecordModel > models ) { // Create new list of records by manually converting each model List < ActivityRecord > objects = new ArrayList < ActivityRecord > ( models . size ( ) ) ; for ( ActivityRecordModel model : models ) objects . ( getObjectInstance ( model ) ) ; return objects ; }
Returns a list of ActivityRecord objects which are backed by the models in the given list .