Package eu.planets_project.pp.plato.model

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


                        if (leaf.isSingle()) {

                            // if (leaf.getScale().getType() == ScaleType.ordinal) {

                                Values vs = leaf.getValueMap().get(alter.getName());

                                assert vs != null;

                                assert vs.getList().get(0) != null;
                            // } else {

                            // }
                        } else {

                            int i = 0;
                            for (SampleObject record : p.getSampleRecordsDefinition().getRecords()) {

                                Values vs = leaf.getValueMap().get(alter.getName());

                                assert vs.getList().get(i++) != null;
                            }
                        }
                    }

                }
View Full Code Here


                }
            }
           
            for (Entry<String, Values> e : l.getValueMap().entrySet()) {
               
                Values v = e.getValue();
                if ((!l.isSingle() && v.size() != records.size()) ||
                       (l.isSingle() && v.size() > 1) ) {
                    log.error("---- INSANITY FOUND! ---- a values object with "+v.size()+" entries");
                }
                for (int i = 0; i < v.getList().size(); i++) {
                    Value value = v.getList().get(i);
                    if (value.getScale() == null)  {
                        if (discardedAlternativesNames.contains(e.getKey())) {
                            log.warn("Potential insantity found: record " + i + " for alternative "+e.getKey()+": Scale == null" );
                        } else {
                            log.error("------ INSANITY FOUND! record " + i + ": Scale == null" );
View Full Code Here

TOP

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

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.