Ejemplo n.º 1
0
 @Override
 public void visitComponent(Mapping mapping) {
   for (Resource r : mapping.logicalTables().resources()) {
     if (r.isAnon()) continue;
     visitComponentProperty(null, r, ComponentType.LOGICAL_TABLE);
   }
   for (Resource r : mapping.termMaps().resources()) {
     if (r.isAnon()) continue;
     visitComponentProperty(null, r, ComponentType.TERM_MAP);
   }
   for (Resource r : mapping.predicateObjectMaps().resources()) {
     if (r.isAnon()) continue;
     visitComponentProperty(null, r, ComponentType.PREDICATE_OBJECT_MAP);
   }
   for (Resource r : mapping.referencingObjectMaps().resources()) {
     if (r.isAnon()) continue;
     visitComponentProperty(null, r, ComponentType.REF_OBJECT_MAP);
   }
   for (Resource r : mapping.joins().resources()) {
     if (r.isAnon()) continue;
     visitComponentProperty(null, r, ComponentType.JOIN);
   }
   super.visitComponent(mapping);
 }