/*
* JBoss, Home of Professional Open Source.
*
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
*
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
*/
package org.teiid.designer.metamodels.relational.util;
import org.eclipse.emf.ecore.EObject;
import org.teiid.designer.metamodels.relational.Catalog;
/**
* CatalogFinder
*
* @since 8.0
*/
public class CatalogFinder extends RelationalEntityFinder {
/*
* @See org.teiid.designer.core.util.ModelVisitor#visit(org.eclipse.emf.ecore.EObject)
*/
@Override
public boolean visit( EObject object ) {
if (object instanceof Catalog) {
// collect the catalog
found((Catalog)object);
}
return false;
}
}