}
}
}
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");