org.eclipse.uml2
Interface EnumerationLiteral

All Superinterfaces:
DeployedArtifact, DeploymentTarget, Element, EModelElement, EObject, InstanceSpecification, NamedElement, Notifier, PackageableElement, ParameterableElement, TemplateableElement

public interface EnumerationLiteral
extends InstanceSpecification

A representation of the model object 'Enumeration Literal'. An enumeration literal is a user-defined data value for an enumeration.

The following features are supported:

See Also:
UML2Package.getEnumerationLiteral()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Enumeration getEnumeration()
          Returns the value of the 'Enumeration' container reference.
 Namespace getNamespace()
           
 void setEnumeration(Enumeration value)
          Sets the value of the 'Enumeration' container reference
 
Methods inherited from interface org.eclipse.uml2.InstanceSpecification
createSlot, createSpecification, getClassifier, getClassifiers, getOwnedElements, getSlots, getSpecification, setSpecification, validateNoDuplicateSlots, validateSlotsAreDefined
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.DeploymentTarget
createDeployment, getClientDependencies, getDeployedElement, getDeployedElements, getDeployment, getDeployments
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getEnumeration

public Enumeration getEnumeration()
Returns the value of the 'Enumeration' container reference. It is bidirectional and its opposite is 'Owned Literal'.

If the meaning of the 'Enumeration' container reference isn't clear, there really should be more of a description here...

Enumeration that this EnumerationLiteral is a member of. Subsets NamedElement:: namespace.

Returns:
the value of the 'Enumeration' container reference.
See Also:
setEnumeration(Enumeration), UML2Package.getEnumerationLiteral_Enumeration(), Enumeration.getOwnedLiterals()

setEnumeration

public void setEnumeration(Enumeration value)
Sets the value of the 'Enumeration' container reference.

Parameters:
value - the new value of the 'Enumeration' container reference.
See Also:
getEnumeration()

getNamespace

public Namespace getNamespace()

Specified by:
getNamespace in interface NamedElement

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.