diff options
author | tle | 2008-02-03 16:40:54 +0000 |
---|---|---|
committer | tle | 2008-02-03 16:40:54 +0000 |
commit | 7f7b20a5d66bf69e88734ead5036e4d6664aa381 (patch) | |
tree | 97dacecfda81e183389ab1c0adb3a83b953823ad /jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java | |
parent | 145c144380950bd4b49fd4597a1a0695cf7c8b7b (diff) | |
download | webtools.dali-7f7b20a5d66bf69e88734ead5036e4d6664aa381.tar.gz webtools.dali-7f7b20a5d66bf69e88734ead5036e4d6664aa381.tar.xz webtools.dali-7f7b20a5d66bf69e88734ead5036e4d6664aa381.zip |
Merged jpt_2_0_exp branch into Head.v20080202_Merged
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java new file mode 100644 index 0000000000..cd5c29a58e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/orm/Query.java @@ -0,0 +1,105 @@ +/******************************************************************************* + * Copyright (c) 2008 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.resource.orm; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.jpt.core.internal.resource.common.IJpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Query</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.core.internal.resource.orm.Query#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.jpt.core.internal.resource.orm.Query#getQuery <em>Query</em>}</li> + * <li>{@link org.eclipse.jpt.core.internal.resource.orm.Query#getHints <em>Hints</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.core.internal.resource.orm.OrmPackage#getQuery() + * @model kind="class" interface="true" abstract="true" + * @extends IJpaEObject + * @generated + */ +public interface Query extends IJpaEObject +{ + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.core.internal.resource.orm.OrmPackage#getQuery_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.core.internal.resource.orm.Query#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Query</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Query</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Query</em>' attribute. + * @see #setQuery(String) + * @see org.eclipse.jpt.core.internal.resource.orm.OrmPackage#getQuery_Query() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * @generated + */ + String getQuery(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.core.internal.resource.orm.Query#getQuery <em>Query</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Query</em>' attribute. + * @see #getQuery() + * @generated + */ + void setQuery(String value); + + /** + * Returns the value of the '<em><b>Hints</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.core.internal.resource.orm.QueryHint}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Hints</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Hints</em>' containment reference list. + * @see org.eclipse.jpt.core.internal.resource.orm.OrmPackage#getQuery_Hints() + * @model containment="true" + * @generated + */ + EList<QueryHint> getHints(); + +} // Query |