blob: 6bc94d55c3e19852c0694ea1f58662bd4c193167 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 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.internal.context.java;
import java.util.ListIterator;
import org.eclipse.jpt.core.internal.context.base.IQuery;
import org.eclipse.jpt.core.internal.resource.java.Query;
public interface IJavaQuery<E extends Query> extends IQuery, IJavaJpaContextNode
{
@SuppressWarnings("unchecked")
ListIterator<IJavaQueryHint> hints();
IJavaQueryHint addHint(int index);
void initializeFromResource(E queryResource);
void update(E queryResource);
}