blob: e42e1eff9a58259ee3edc1952ba8fc460187b7cf [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 Oracle Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Oracle - initial API and implementation
*
********************************************************************************/
package org.eclipse.jst.jsf.common.metadata.internal.provisional.query;
import org.eclipse.jst.jsf.common.metadata.internal.provisional.Entity;
/**
* Trait querying interface
*/
public interface ITraitQueryVisitor extends ITraitVisitor{
/**
* @param entity
* @param traitKey
* @return IResultSet of Traits. IResultSet should NOT be null.
*/
public IResultSet/*<Trait>*/ findTraits(final Entity entity,
final String traitKey);
}