blob: d80b92c14da5111fc7721071298157e64ec2903b [file] [log] [blame]
/**
* Copyright (c) 2015, 2021 Obeo.
* 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:
* Obeo - initial API and implementation
*
*/
package org.eclipse.acceleo.query.ast;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Binding</b></em>'. <!-- end-user-doc
* -->
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.acceleo.query.ast.Binding#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.acceleo.query.ast.Binding#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.acceleo.query.ast.AstPackage#getBinding()
* @model
* @generated
*/
public interface Binding 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 -->
*
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.acceleo.query.ast.AstPackage#getBinding_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.acceleo.query.ast.Binding#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>' containment reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' containment reference isn't clear, there really should be more of
* a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Type</em>' containment reference.
* @see #setType(TypeLiteral)
* @see org.eclipse.acceleo.query.ast.AstPackage#getBinding_Type()
* @model containment="true"
* @generated
*/
TypeLiteral getType();
/**
* Sets the value of the '{@link org.eclipse.acceleo.query.ast.Binding#getType <em>Type</em>}' containment
* reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Type</em>' containment reference.
* @see #getType()
* @generated
*/
void setType(TypeLiteral value);
/**
* Returns the value of the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' containment reference isn't clear, there really should be more
* of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Value</em>' containment reference.
* @see #setValue(Expression)
* @see org.eclipse.acceleo.query.ast.AstPackage#getBinding_Value()
* @model containment="true" required="true"
* @generated
*/
Expression getValue();
/**
* Sets the value of the '{@link org.eclipse.acceleo.query.ast.Binding#getValue <em>Value</em>}'
* containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Value</em>' containment reference.
* @see #getValue()
* @generated
*/
void setValue(Expression value);
} // Binding