}
Iterator<EmbeddableAttribute> attrIterator = emb.getAttributes().iterator();
while(attrIterator.hasNext()) {
EmbeddableAttribute attr = attrIterator.next();
if(matchFound(attr.getName(), pattern)){
paths.add(attr);
}
}
}
Iterator<DbEntity> dbEntIterator = dm.getDbEntities().iterator();
while(dbEntIterator.hasNext()) {
DbEntity ent = dbEntIterator.next();
if(matchFound(ent.getName(), pattern)){
paths.add(ent);
}
Iterator<DbAttribute> attrIterator = ent.getAttributes().iterator();
while(attrIterator.hasNext()) {
DbAttribute attr = attrIterator.next();
if(matchFound(attr.getName(), pattern)){
paths.add(attr);
}
}
Iterator<DbRelationship> relIterator = ent.getRelationships().iterator();
while(relIterator.hasNext()) {
DbRelationship rel = relIterator.next();
if(matchFound(rel.getName(), pattern)){
paths.add(rel);
}
}
}
Iterator<ObjEntity> entIterator = dm.getObjEntities().iterator();
while(entIterator.hasNext()) {
ObjEntity ent = entIterator.next();
if(matchFound(ent.getName(), pattern)){
paths.add(ent);
}
Iterator<ObjAttribute> attrIterator = ent.getAttributes().iterator();
while(attrIterator.hasNext()) {
ObjAttribute attr = attrIterator.next();
if(matchFound(attr.getName(), pattern)){
paths.add(attr);
}
}
Iterator<ObjRelationship> relIterator = ent.getRelationships().iterator();