title: Get list of attributes of an object in an List
body: <p>When there is an <code>List&lt;Person&gt;</code>, is there a possibility of getting List of all <code>person.getName()</code> out of that?
  Is there an prepared call for that, or do I have to write an foreach loop like:</p>
  
  <pre><code>List&lt;Person&gt; personList = new ArrayList&lt;Person&gt;();
  List&lt;String&gt; namesList = new ArrayList&lt;String&gt;();
  for(Person person : personList){
      namesList.add(personList.getName());
  }
  </code></pre>