code: public static Collection<Object> getCollectionProperties(Collection<?> collection,String name)
     throws Exception
     {
  	   if(collection == null)
  				throw new IllegalArgumentException("collection, name");
  	   
  	   ArrayList<Object> list = new ArrayList<Object>(collection.size());
  	   
  	   for (Object bean : collection)
  		{
  		   list.add(getNestedProperty(bean, name));
  		}
  	   
  	   return list;
     }
docs: Retrieve the list of properties that exists in a given collection
  @param collection the collection of object
  @param name the name of property
  @return collection of objects
  @throws Exception when an unknown error occurs