for (int i = 0; i < statusBars.length; i++)
statusBars[i].nextStep();
}
// Roles
RoleType iRoleType;
ResourceClassModel roleModelTemp;
for (Iterator<ResourceClassModel> iter = petrinetModel.getRoles().iterator(); iter.hasNext();)
{
roleModelTemp = (ResourceClassModel) iter.next();
iRoleType = iNetResources.addNewRole();
iRoleType.setName(roleModelTemp.getName());
if(roleModelTemp.getSuperModels()!= null){
for (Iterator<ResourceClassModel> i = roleModelTemp.getSuperModels();i.hasNext();)
{
ResourceClassModel superMe = i.next();
SuperModelType newSuper =iRoleType.addNewSuperModel();
newSuper.setName(superMe.getName());
}
}
for (int i = 0; i < statusBars.length; i++)
statusBars[i].nextStep();