| /* |
| * Copyright (c) 2003, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM - Initial API and implementation |
| * |
| * $Id: TemplateableElement.java,v 1.3 2004/05/11 15:24:00 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import java.util.Set; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Templateable Element</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.TemplateableElement#getTemplateBindings <em>Template Binding</em>}</li> |
| * <li>{@link org.eclipse.uml2.TemplateableElement#getOwnedTemplateSignature <em>Owned Template Signature</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getTemplateableElement() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface TemplateableElement extends Element{ |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$ |
| |
| /** |
| * Returns the value of the '<em><b>Template Binding</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.uml2.TemplateBinding}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.TemplateBinding#getBoundElement <em>Bound Element</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Template Binding</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>Template Binding</em>' containment reference list. |
| * @see org.eclipse.uml2.UML2Package#getTemplateableElement_TemplateBinding() |
| * @see org.eclipse.uml2.TemplateBinding#getBoundElement |
| * @model type="org.eclipse.uml2.TemplateBinding" opposite="boundElement" containment="true" ordered="false" |
| * @generated |
| */ |
| EList getTemplateBindings(); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.TemplateBinding} and appends it to the '<em><b>Template Binding</b></em>' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param eClass The Ecore class of the {@link org.eclipse.uml2.TemplateBinding} to create. |
| * @return The new {@link org.eclipse.uml2.TemplateBinding}. |
| * @see #getTemplateBindings() |
| * @generated |
| */ |
| TemplateBinding createTemplateBinding(EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Template Signature</b></em>' containment reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.TemplateSignature#getTemplate <em>Template</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Owned Template Signature</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>Owned Template Signature</em>' containment reference. |
| * @see #setOwnedTemplateSignature(TemplateSignature) |
| * @see org.eclipse.uml2.UML2Package#getTemplateableElement_OwnedTemplateSignature() |
| * @see org.eclipse.uml2.TemplateSignature#getTemplate |
| * @model opposite="template" containment="true" |
| * @generated |
| */ |
| TemplateSignature getOwnedTemplateSignature(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.TemplateableElement#getOwnedTemplateSignature <em>Owned Template Signature</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owned Template Signature</em>' containment reference. |
| * @see #getOwnedTemplateSignature() |
| * @generated |
| */ |
| void setOwnedTemplateSignature(TemplateSignature value); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.TemplateSignature} and sets the '<em><b>Owned Template Signature</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param eClass The Ecore class of the {@link org.eclipse.uml2.TemplateSignature} to create. |
| * @return The new {@link org.eclipse.uml2.TemplateSignature}. |
| * @see #getOwnedTemplateSignature() |
| * @generated |
| */ |
| TemplateSignature createOwnedTemplateSignature(EClass eClass); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model dataType="org.eclipse.uml2.Set" |
| * @generated |
| */ |
| Set parameterableElements(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getOwnedElements(); |
| |
| } // TemplateableElement |