public static SelectClause create(String... propertyNames){
  List<SelectClauseElement> selectList=new ArrayList<SelectClauseElement>();
  for (  String name : propertyNames) {
    selectList.add(new SelectClauseExpression(new PropertyValueExpression(name)));
  }
  return new SelectClause(StreamSelector.ISTREAM_ONLY,selectList);
}

public static SelectClause create ( String ... propertyNames ) { List < SelectClauseElement > selectList = new ArrayList < SelectClauseElement > ( ) ; for ( String name : propertyNames ) { selectList . add ( new SelectClauseExpression ( new PropertyValueExpression ( name ) ) ) ; } return new SelectClause ( StreamSelector . ISTREAM_ONLY , selectList ) ; }
creates a select - clause consisting of a list of property names .
