| /** |
| * Copyright (c) 2009-2010 Thales Corporate Services S.A.S. |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-v2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Thales Corporate Services S.A.S - initial API and implementation |
| */ |
| package org.eclipse.egf.model.pattern; |
| |
| import org.eclipse.egf.model.fcore.ModelElement; |
| import org.eclipse.emf.common.util.EMap; |
| |
| /** |
| * <!-- 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.egf.model.pattern.Query#getParameter <em>Parameter</em>}</li> |
| * <li>{@link org.eclipse.egf.model.pattern.Query#getExtensionId <em>Extension Id</em>}</li> |
| * <li>{@link org.eclipse.egf.model.pattern.Query#getQueryContext <em>Query Context</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.egf.model.pattern.PatternPackage#getQuery() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface Query extends ModelElement { |
| |
| /** |
| * Returns the value of the '<em><b>Parameter</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.egf.model.pattern.PatternParameter#getQuery <em>Query</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Parameter</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Parameter</em>' container reference. |
| * @see #setParameter(PatternParameter) |
| * @see org.eclipse.egf.model.pattern.PatternPackage#getQuery_Parameter() |
| * @see org.eclipse.egf.model.pattern.PatternParameter#getQuery |
| * @model opposite="query" resolveProxies="false" required="true" transient="false" |
| * @generated |
| */ |
| PatternParameter getParameter(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.egf.model.pattern.Query#getParameter <em>Parameter</em>}' container reference. |
| * <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * @param value the new value of the '<em>Parameter</em>' container reference. |
| * @see #getParameter() |
| * @generated |
| */ |
| void setParameter(PatternParameter value); |
| |
| /** |
| * Returns the value of the '<em><b>Extension Id</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Extension Id</em>' attribute isn't clear, there |
| * really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Extension Id</em>' attribute. |
| * @see #setExtensionId(String) |
| * @see org.eclipse.egf.model.pattern.PatternPackage#getQuery_ExtensionId() |
| * @model required="true" |
| * @generated |
| */ |
| String getExtensionId(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.egf.model.pattern.Query#getExtensionId <em>Extension Id</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Extension Id</em>' attribute. |
| * @see #getExtensionId() |
| * @generated |
| */ |
| void setExtensionId(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Query Context</b></em>' map. |
| * The key is of type {@link java.lang.String}, |
| * and the value is of type {@link java.lang.String}, |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @return the value of the '<em>Query Context</em>' map. |
| * @see org.eclipse.egf.model.pattern.PatternPackage#getQuery_QueryContext() |
| * @model mapType="org.eclipse.egf.model.pattern.String2String<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" |
| * @generated |
| */ |
| EMap<String, String> getQueryContext(); |
| |
| } // Query |