Package org.woped.pnml

Examples of org.woped.pnml.RoleType


                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();
View Full Code Here

TOP

Related Classes of org.woped.pnml.RoleType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.