/** | |
* Copyright (c) 2009 Mia-Software. | |
* 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: | |
* Frederic Madiot (Mia-Software) - meta-model design | |
* Gregoire DUPE (Mia-Software) - design and implementation | |
* | |
* | |
* $Id$ | |
*/ | |
package org.eclipse.gmt.modisco.infra.query; | |
import org.eclipse.emf.ecore.EClassifier; | |
import org.eclipse.emf.ecore.EObject; | |
/** | |
* <!-- begin-user-doc --> | |
* A representation of the model object '<em><b>Model Query Parameter</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <!-- begin-model-doc --> | |
* ModelQueryParameter is a class representing the query parameters. | |
* <!-- end-model-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getName <em>Name</em>}</li> | |
* <li>{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getType <em>Type</em>}</li> | |
* <li>{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getUpperBound <em>Upper Bound</em>}</li> | |
* <li>{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getLowerBound <em>Lower Bound</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.gmt.modisco.infra.query.QueryPackage#getModelQueryParameter() | |
* @model | |
* @generated | |
* @deprecated replaced by EMF Facet, cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=470578 | |
*/ | |
@Deprecated | |
public interface ModelQueryParameter extends EObject { | |
/** | |
* 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 --> | |
* <!-- begin-model-doc --> | |
* ModelQueryParameter::name is the parameter name. In each query the parameter names must be unique. | |
* <!-- end-model-doc --> | |
* @return the value of the '<em>Name</em>' attribute. | |
* @see #setName(String) | |
* @see org.eclipse.gmt.modisco.infra.query.QueryPackage#getModelQueryParameter_Name() | |
* @model id="true" required="true" | |
* @generated | |
*/ | |
String getName(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#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>Type</b></em>' reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Type</em>' reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* <!-- begin-model-doc --> | |
* ModelQueryParameter::type is an ecore::DataType representing the query parameter type. | |
* <!-- end-model-doc --> | |
* @return the value of the '<em>Type</em>' reference. | |
* @see #setType(EClassifier) | |
* @see org.eclipse.gmt.modisco.infra.query.QueryPackage#getModelQueryParameter_Type() | |
* @model required="true" | |
* @generated | |
*/ | |
EClassifier getType(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getType <em>Type</em>}' reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Type</em>' reference. | |
* @see #getType() | |
* @generated | |
*/ | |
void setType(EClassifier value); | |
/** | |
* Returns the value of the '<em><b>Upper Bound</b></em>' attribute. | |
* The default value is <code>"1"</code>. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Upper Bound</em>' attribute isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Upper Bound</em>' attribute. | |
* @see #setUpperBound(int) | |
* @see org.eclipse.gmt.modisco.infra.query.QueryPackage#getModelQueryParameter_UpperBound() | |
* @model default="1" | |
* @generated | |
*/ | |
int getUpperBound(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getUpperBound <em>Upper Bound</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Upper Bound</em>' attribute. | |
* @see #getUpperBound() | |
* @generated | |
*/ | |
void setUpperBound(int value); | |
/** | |
* Returns the value of the '<em><b>Lower Bound</b></em>' attribute. | |
* The default value is <code>"0"</code>. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Lower Bound</em>' attribute isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Lower Bound</em>' attribute. | |
* @see #setLowerBound(int) | |
* @see org.eclipse.gmt.modisco.infra.query.QueryPackage#getModelQueryParameter_LowerBound() | |
* @model default="0" | |
* @generated | |
*/ | |
int getLowerBound(); | |
/** | |
* Sets the value of the '{@link org.eclipse.gmt.modisco.infra.query.ModelQueryParameter#getLowerBound <em>Lower Bound</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Lower Bound</em>' attribute. | |
* @see #getLowerBound() | |
* @generated | |
*/ | |
void setLowerBound(int value); | |
} // ModelQueryParameter |