return null;
}
@Override
public DataCreationInfo getCreateOntologyInfo() {
MappingDataCreationInfo mappingDataCreationInfo = new MappingDataCreationInfo();
List<Mapping> expandedMappings = new ArrayList<Mapping>();
for ( Mapping mapping : vineEditorPanel.getMappings() ) {
String expandedLeft = VineMain.getExpandedTerm(mapping.getLeft());
String expandedRight = VineMain.getExpandedTerm(mapping.getRight());
Mapping mappingToServer = new Mapping(expandedLeft, mapping.getRelation(), expandedRight);
mappingToServer.setMetadata(mapping.getMetadata());
expandedMappings.add(mappingToServer);
}
mappingDataCreationInfo.setMappings(expandedMappings);
Set<String> namespaces = new HashSet<String>(VineMain.getWorkingUris());
mappingDataCreationInfo.setNamespaces(namespaces);
return mappingDataCreationInfo;
}