@Test public void testGetDataTypes() { assertEquals(1, modelIndex.getDataTypes().size()); assertTrue(modelIndex.getDataTypes().containsKey(new QName(UMLPACKAGE_NAME, DATATYPE_NAME))); }
@Override public Map<QName, DataType> getDataTypes() { return dataTypesByName; }
DefaultModelIndex implements ModelIndex { @Override public Map<QName, DataType> getDataTypes() { return dataTypesByName; } }
DefaultModelIndex implements ModelIndex { @Override public Map<QName, DataType> getDataTypes() { return dataTypesByName; } DefaultModelIndex(final Model model); }
DefaultModelIndex implements ModelIndex { @Override public Map<QName, DataType> getDataTypes() { return dataTypesByName; } DefaultModelIndex(final Model model); @Override List<AssociationEnd> getAssociationEnds(final Identifier type); @Override Map<String, ClassType> getClassTypes(); @Override String getNamespaceURI(final Type type); @Override Map<QName, DataType> getDataTypes(); @Override Iterable<EnumType> getEnumTypes(); @Override List<Generalization> getGeneralizationBase(final Identifier derived); @Override List<Generalization> getGeneralizationDerived(final Identifier base); @Override TagDefinition getTagDefinition(final Identifier reference); @Override Type getType(final Identifier reference); @Override Set<ModelElement> whereUsed(final Identifier id); @Override TagDefinition getTagDefinition(final QName name); @Override Set<ModelElement> lookupByName(final QName name); @Override void lookup(final Identifier id, final Visitor visitor); }
DefaultModelIndex implements ModelIndex { @Override public Map<QName, DataType> getDataTypes() { return dataTypesByName; } DefaultModelIndex(final Model model); @Override List<AssociationEnd> getAssociationEnds(final Identifier type); @Override Map<String, ClassType> getClassTypes(); @Override String getNamespaceURI(final Type type); @Override Map<QName, DataType> getDataTypes(); @Override Iterable<EnumType> getEnumTypes(); @Override List<Generalization> getGeneralizationBase(final Identifier derived); @Override List<Generalization> getGeneralizationDerived(final Identifier base); @Override TagDefinition getTagDefinition(final Identifier reference); @Override Type getType(final Identifier reference); @Override Set<ModelElement> whereUsed(final Identifier id); @Override TagDefinition getTagDefinition(final QName name); @Override Set<ModelElement> lookupByName(final QName name); @Override void lookup(final Identifier id, final Visitor visitor);  }