org.eclipse.uml2
Interface Feature

All Superinterfaces:
Element, EModelElement, EObject, NamedElement, Notifier, RedefinableElement, TemplateableElement
All Known Subinterfaces:
BehavioralFeature, Connector, ExtensionEnd, Operation, Port, Property, Reception, StructuralFeature

public interface Feature
extends RedefinableElement

A representation of the model object 'Feature'. A feature declares a behavioral or structural characteristic of instances of classifiers. Feature is an abstract metaclass.

The following features are supported:

See Also:
UML2Package.getFeature()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Classifier getFeaturingClassifier(String unqualifiedName)
          Retrieves the Classifier with the specified name from the 'Featuring Classifier' reference list
 EList getFeaturingClassifiers()
          Returns the value of the 'Featuring Classifier' reference list.
 boolean isStatic()
          Returns the value of the 'Is Static' attribute.
 void setIsStatic(boolean value)
          Sets the value of the 'Is Static' attribute
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, 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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isStatic

public boolean isStatic()
Returns the value of the 'Is Static' attribute. The default value is "false".

If the meaning of the 'Is Static' attribute isn't clear, there really should be more of a description here...

Specifies whether the feature is applied at the classifier-level (true) or the instance-level (false). Default value is false.

Returns:
the value of the 'Is Static' attribute.
See Also:
setIsStatic(boolean), UML2Package.getFeature_IsStatic()

setIsStatic

public void setIsStatic(boolean value)
Sets the value of the 'Is Static' attribute.

Parameters:
value - the new value of the 'Is Static' attribute.
See Also:
isStatic()

getFeaturingClassifiers

public EList getFeaturingClassifiers()
Returns the value of the 'Featuring Classifier' reference list. The list contents are of type Classifier. It is bidirectional and its opposite is 'Feature'.

If the meaning of the 'Featuring Classifier' reference list isn't clear, there really should be more of a description here...

The Classifiers that have this Feature as a feature. This is a derived union.

Returns:
the value of the 'Featuring Classifier' reference list.
See Also:
UML2Package.getFeature_FeaturingClassifier(), Classifier.getFeatures()

getFeaturingClassifier

public Classifier getFeaturingClassifier(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'Featuring Classifier' reference list.

Parameters:
unqualifiedName - The unqualified name of the Classifier to retrieve.
Returns:
The Classifier with the specified name, or null.
See Also:
getFeaturingClassifiers()

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