diff options
Diffstat (limited to 'plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/EnumerationLiteral.java')
-rw-r--r-- | plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/EnumerationLiteral.java | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/EnumerationLiteral.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/EnumerationLiteral.java new file mode 100644 index 00000000..dcfd2423 --- /dev/null +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/EnumerationLiteral.java @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2005 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: EnumerationLiteral.java,v 1.1 2005/11/14 22:25:56 khussey Exp $ + */ +package org.eclipse.uml2.uml; + +/** + * <!-- 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 value of an enumeration. + * 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.uml.EnumerationLiteral#getEnumeration <em>Enumeration</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.uml2.uml.UMLPackage#getEnumerationLiteral() + * @model + * @generated + */ +public interface EnumerationLiteral + extends InstanceSpecification { + + /** + * Returns the value of the '<em><b>Enumeration</b></em>' container reference. + * It is bidirectional and its opposite is '{@link org.eclipse.uml2.uml.Enumeration#getOwnedLiterals <em>Owned Literal</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The enumeration that this literal belongs to. + * The Enumeration that this EnumerationLiteral is a member of. + * <!-- end-model-doc --> + * @return the value of the '<em>Enumeration</em>' container reference. + * @see #setEnumeration(Enumeration) + * @see org.eclipse.uml2.uml.UMLPackage#getEnumerationLiteral_Enumeration() + * @see org.eclipse.uml2.uml.Enumeration#getOwnedLiterals + * @model opposite="ownedLiteral" ordered="false" + * @generated + */ + Enumeration getEnumeration(); + + /** + * Sets the value of the '{@link org.eclipse.uml2.uml.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); + +} // EnumerationLiteral |