blob: bb1dd4af795138d4755005ec15730348a4ea6163 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2013 E.D.Willink and others.
* 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:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.pivot;
import java.util.List;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Template Binding</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A template binding represents a relationship between a templateable element and a template. A template binding specifies the substitutions of actual parameters for the formal parameters of the template.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.pivot.TemplateBinding#getOwnedSubstitutions <em>Owned Substitutions</em>}</li>
* <li>{@link org.eclipse.ocl.pivot.TemplateBinding#getOwningElement <em>Owning Element</em>}</li>
* <li>{@link org.eclipse.ocl.pivot.TemplateBinding#getTemplateSignature <em>Template Signature</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.pivot.PivotPackage#getTemplateBinding()
* @generated
*/
public interface TemplateBinding
extends Element {
/**
* Returns the value of the '<em><b>Owned Substitutions</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.pivot.TemplateParameterSubstitution}.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.pivot.TemplateParameterSubstitution#getOwningBinding <em>Owning Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The parameter substitutions owned by this template binding.
* <!-- end-model-doc -->
* @return the value of the '<em>Owned Substitutions</em>' containment reference list.
* @see org.eclipse.ocl.pivot.PivotPackage#getTemplateBinding_OwnedSubstitutions()
* @see org.eclipse.ocl.pivot.TemplateParameterSubstitution#getOwningBinding
* @generated
*/
List<TemplateParameterSubstitution> getOwnedSubstitutions();
/**
* Returns the value of the '<em><b>Owning Element</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.pivot.TemplateableElement#getOwnedBindings <em>Owned Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The element that is bound by this binding.
* <!-- end-model-doc -->
* @return the value of the '<em>Owning Element</em>' container reference.
* @see #setOwningElement(TemplateableElement)
* @see org.eclipse.ocl.pivot.PivotPackage#getTemplateBinding_OwningElement()
* @see org.eclipse.ocl.pivot.TemplateableElement#getOwnedBindings
* @generated
*/
TemplateableElement getOwningElement();
/**
* Sets the value of the '{@link org.eclipse.ocl.pivot.TemplateBinding#getOwningElement <em>Owning Element</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owning Element</em>' container reference.
* @see #getOwningElement()
* @generated
*/
void setOwningElement(TemplateableElement value);
/**
* Returns the value of the '<em><b>Template Signature</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The template signature for the template that is the target of the binding.
* <!-- end-model-doc -->
* @return the value of the '<em>Template Signature</em>' reference.
* @see org.eclipse.ocl.pivot.PivotPackage#getTemplateBinding_TemplateSignature()
* @generated
*/
TemplateSignature getTemplateSignature();
} // TemplateBinding