| /* |
| * 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: EnumerationLiteral.java,v 1.4 2004/06/06 01:35:02 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Enumeration Literal</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * An enumeration literal is a user-defined data value for an enumeration. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.EnumerationLiteral#getEnumeration <em>Enumeration</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getEnumerationLiteral() |
| * @model |
| * @generated |
| */ |
| public interface EnumerationLiteral extends InstanceSpecification{ |
| /** |
| * <!-- 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>Enumeration</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.Enumeration#getOwnedLiterals <em>Owned Literal</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Enumeration</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Enumeration that this EnumerationLiteral is a member of. Subsets NamedElement:: namespace. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Enumeration</em>' container reference. |
| * @see #setEnumeration(Enumeration) |
| * @see org.eclipse.uml2.UML2Package#getEnumerationLiteral_Enumeration() |
| * @see org.eclipse.uml2.Enumeration#getOwnedLiterals |
| * @model opposite="ownedLiteral" |
| * @generated |
| */ |
| Enumeration getEnumeration(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.EnumerationLiteral#getEnumeration <em>Enumeration</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Enumeration</em>' container reference. |
| * @see #getEnumeration() |
| * @generated |
| */ |
| void setEnumeration(Enumeration value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| Namespace getNamespace(); |
| |
| } // EnumerationLiteral |