blob: bdd3a78efc4f3126c8041f200c4c942f996b60e5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Oracle. 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.jpt.core.context.orm;
import java.util.ListIterator;
import org.eclipse.jpt.core.context.QueryContainer;
import org.eclipse.jpt.core.context.XmlContextNode;
public interface OrmQueryContainer extends QueryContainer, XmlContextNode
{
@SuppressWarnings("unchecked")
ListIterator<OrmNamedQuery> namedQueries();
OrmNamedQuery addNamedQuery(int index);
@SuppressWarnings("unchecked")
ListIterator<OrmNamedNativeQuery> namedNativeQueries();
OrmNamedNativeQuery addNamedNativeQuery(int index);
void update();
}