@DefaultValue("1") int expandLevel) {
List<Dom> domList = new ArrayList();
List<E> entities = getEntity();
if (entities==null){
return new GetResultList(domList, getPostCommand(),
getCommandResourcesPaths(), options());//empty dom list
}
Iterator iterator = entities.iterator();
E e;
while (iterator.hasNext()) {
e = (E) iterator.next();
domList.add(Dom.unwrap(e));
}
return new GetResultList(domList, getPostCommand(), getCommandResourcesPaths(), options());
}