return ret;
}
public EThreadGroup createThreadGroup(ThreadGroupReference threadGroup)
{
EThreadGroup ret=new EThreadGroup();
ret.setName(threadGroup.name());
if(threadGroup.parent()!=null)
{
ret.setParent(createQueryThreadGroup(threadGroup.parent()));
ret.setCompleteName(ret.getParent().getCompleteName() + "." + threadGroup.name());
}
else
ret.setCompleteName(threadGroup.name());
JPAManager.getJPAManager().getEntityManager().persist(ret);
return ret;
}