| /* |
| * 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: Extension.java,v 1.2 2004/04/10 04:09:50 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Extension</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.Extension#isRequired <em>Is Required</em>}</li> |
| * <li>{@link org.eclipse.uml2.Extension#getMetaclass <em>Metaclass</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getExtension() |
| * @model |
| * @generated |
| */ |
| public interface Extension extends Association{ |
| /** |
| * <!-- 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>Is Required</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Required</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Is Required</em>' attribute. |
| * @see org.eclipse.uml2.UML2Package#getExtension_IsRequired() |
| * @model dataType="org.eclipse.uml2.Boolean" transient="true" changeable="false" volatile="true" derived="true" |
| * @generated |
| */ |
| boolean isRequired(); |
| |
| /** |
| * Returns the value of the '<em><b>Metaclass</b></em>' reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.Class#getExtensions <em>Extension</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Metaclass</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Metaclass</em>' reference. |
| * @see org.eclipse.uml2.UML2Package#getExtension_Metaclass() |
| * @see org.eclipse.uml2.Class#getExtensions |
| * @model opposite="extension" required="true" transient="true" changeable="false" volatile="true" derived="true" |
| * @generated |
| */ |
| org.eclipse.uml2.Class getMetaclass(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getOwnedEnds(); |
| |
| } // Extension |