Package eu.planets_project.pp.plato.model

Examples of eu.planets_project.pp.plato.model.PolicyNode


            Policy p = new Policy();
            p.setValue(getTEXT());
            return p;

        } else {
            PolicyNode node = new PolicyNode();

            node.setName(getTEXT());

            for (Node n : children) {
                if (n.isLeaf()) {
                    Policy p = new Policy();
                    p.setValue(n.getTEXT());
                    //Policy p = (Policy)n.createPolicyNode();
                    p.setName(getTEXT());
                    return p;
                } else {
                    node.addChild(n.createPolicyNode());
                }
            }

            return node;
        }
View Full Code Here


                && selectedPlan.getProjectBasis().getPolicyTree().getRoot() == null) {
           
            if (user.getOrganisation() != null
                    && user.getOrganisation().getPolicyTree() != null) {
               
                PolicyNode clone = user.getOrganisation().getPolicyTree().getRoot().clone();
               
                selectedPlan.getProjectBasis().getPolicyTree().setRoot(clone);
            }
           
        }
View Full Code Here

TOP

Related Classes of eu.planets_project.pp.plato.model.PolicyNode

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.