public Object pack(){
  if (collection) {
    List l=(List)value;
    if (Types.isArray(type)) {
      Object[] o=(Object[])Array.newInstance(itemType,l.size());
      l.toArray(o);
      return o;
    }
  }
  return value;
}

public Object pack ( ) { if ( collection ) { List l = ( List ) value ; if ( Types . isArray ( type ) ) { Object [ ] o = ( Object [ ] ) Array . newInstance ( itemType , l . size ( ) ) ; l . toArray ( o ) ; return o ; } } return value ; }
based on accumulated value , produce a value for this property .
