Package ch.interlis.ili2c.metamodel

Examples of ch.interlis.ili2c.metamodel.Topic


                Iterator topici = model.iterator();
                while (topici.hasNext()) {
                    Object tObj = topici.next();

                    if (tObj instanceof Topic) {
                        Topic topic = (Topic) tObj;
                        Iterator iter = topic.getViewables().iterator();

                        while (iter.hasNext()) {
                            Object obj = iter.next();

                            if (obj instanceof Viewable) {
View Full Code Here


                while (topici.hasNext()) {
                    Object tObj = topici.next();

                    if (tObj instanceof Topic) {
                        Topic topic = (Topic) tObj;
                        Iterator iter = topic.getViewables().iterator();

                        String topicName = topic.getName();
                        logger.debug(topic.getName());

                        JSONObject jobjTopic = new JSONObject();

                        // mit/ohne array?
                        // JSONArray langListTopic = new JSONArray();
View Full Code Here

                            }
                        }
                    }

                    if (tObj instanceof Topic) {
                        Topic topic = (Topic) tObj;

                        Iterator iter = topic.iterator();

                        while (iter.hasNext()) {
                            Object obj = iter.next();

                            if (obj instanceof Domain) {
                                Type domainType = ((Domain) obj).getType();
                                if (domainType instanceof EnumerationType) {
                                    EnumerationType enumerationType = (EnumerationType) domainType;
                                    ch.interlis.ili2c.metamodel.Enumeration enumerations = (ch.interlis.ili2c.metamodel.Enumeration) enumerationType
                                            .getConsolidatedEnumeration();

                                    String enumName = "enum__"
                                            + topic.getName().toLowerCase()
                                            + "_"
                                            + ((Domain) obj).getName()
                                                    .toLowerCase();

                                    enums.append("\n");
View Full Code Here

TOP

Related Classes of ch.interlis.ili2c.metamodel.Topic

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.