blob: 2271e7ab79e4a2689ff3a899b69b7759d4fd7c1a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 Oracle Corporation and others.
* 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 Corporation - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.jst.jsf.common.metadata.query.internal;
import org.eclipse.jst.jsf.common.metadata.Entity;
/**
* Matches entities
*/
public interface IEntityPredicateMatcher extends IPredicateMatcher<Entity> {
/**
* Signals to matcher that you are moving down the hierarchy by one
*/
public void pushLevel();
/**
* Signals to matcher that you are moving up the hierarchy by one
*/
public void popLevel();
/**
* @return the deepest level in the hierarchy that is being matched
*/
public int getMaxLevel();
/**
* @return current level being matched in the hierarchy
*/
public int getCurrentLevel();
}