public static List<String> names(Collection<? extends DataObjectRestRep> values){
  List<String> names=new ArrayList<String>();
  if (values != null) {
    for (    DataObjectRestRep value : values) {
      names.add(value.getName());
    }
  }
  return names;
}

public static List < String > names ( Collection < ? extends DataObjectRestRep > values ) { List < String > names = new ArrayList < String > ( ) ; if ( values != null ) { for ( DataObjectRestRep value : values ) { names . add ( value . getName ( ) ) ; } } return names ; }
gets the names of the data objects , null safe
