| /* |
| * 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 Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM - initial API and implementation |
| * |
| * $Id: Feature.java,v 1.10 2005/06/15 20:06:01 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Feature</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A feature declares a behavioral or structural characteristic of instances of classifiers. Feature is an abstract metaclass. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.Feature#getFeaturingClassifiers <em>Featuring Classifier</em>}</li> |
| * <li>{@link org.eclipse.uml2.Feature#isStatic <em>Is Static</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getFeature() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface Feature extends RedefinableElement{ |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$ |
| |
| /** |
| * Returns the value of the '<em><b>Is Static</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Static</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Specifies whether the feature is applied at the classifier-level (true) or the instance-level (false). Default value is false. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Is Static</em>' attribute. |
| * @see #setIsStatic(boolean) |
| * @see org.eclipse.uml2.UML2Package#getFeature_IsStatic() |
| * @model default="false" dataType="org.eclipse.uml2.Boolean" |
| * @generated |
| */ |
| boolean isStatic(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.Feature#isStatic <em>Is Static</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Static</em>' attribute. |
| * @see #isStatic() |
| * @generated |
| */ |
| void setIsStatic(boolean value); |
| |
| |
| /** |
| * Returns the value of the '<em><b>Featuring Classifier</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.Classifier}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.Classifier#getFeatures <em>Feature</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Featuring Classifier</em>' reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The Classifiers that have this Feature as a feature. This is a derived union. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Featuring Classifier</em>' reference list. |
| * @see org.eclipse.uml2.UML2Package#getFeature_FeaturingClassifier() |
| * @see org.eclipse.uml2.Classifier#getFeatures |
| * @model type="org.eclipse.uml2.Classifier" opposite="feature" transient="true" changeable="false" derived="true" ordered="false" |
| * @generated |
| */ |
| EList getFeaturingClassifiers(); |
| |
| |
| /** |
| * Retrieves the {@link org.eclipse.uml2.Classifier} with the specified '<em><b>Name</b></em>' from the '<em><b>Featuring Classifier</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.Classifier} to retrieve. |
| * @return The {@link org.eclipse.uml2.Classifier} with the specified '<em><b>Name</b></em>', or <code>null</code>. |
| * @see #getFeaturingClassifiers() |
| * @generated |
| */ |
| Classifier getFeaturingClassifier(String name); |
| |
| } // Feature |