|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Redefinable Element'. A redefinable element is a named element that can be redefined in the context of a generalization. RedefinableElement is an abstract metaclass.
The following features are supported:
UML2Package.getRedefinableElement()| Field Summary | |
static String |
copyright
|
| Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
| Method Summary | |
EList |
getRedefinedElements()
|
Classifier |
getRedefinitionContext(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'Redefinition Context' reference list |
EList |
getRedefinitionContexts()
Returns the value of the 'Redefinition Context' reference list. |
boolean |
isConsistentWith(RedefinableElement redefinee)
A query based on the following OCL expression:
false
|
boolean |
isLeaf()
Returns the value of the 'Is Leaf' attribute. |
boolean |
isRedefinitionContextValid(RedefinableElement redefinable)
A query based on the following OCL expression:
self.redefinitionContext->exists(c | redefinable.redefinitionContext->exists(r | c.allParents()->includes(r)))
|
void |
setIsLeaf(boolean value)
Sets the value of the ' Is Leaf' attribute |
boolean |
validateRedefinitionConsistent(DiagnosticChain diagnostics,
Map context)
An invariant constraint based on the following OCL expression:
self.redefinedElement->forAll(re | re.isConsistentWith(self))
|
boolean |
validateRedefinitionContextValid(DiagnosticChain diagnostics,
Map context)
An invariant constraint based on the following OCL expression:
self.redefinedElement->forAll(e | self.isRedefinitionContextValid(e))
|
| 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 |
public static final String copyright
| Method Detail |
public boolean isLeaf()
"false".
If the meaning of the 'Is Leaf' attribute isn't clear, there really should be more of a description here...
Indicates whether it is possible to further specialize a RedefinableElement. If the value is true, then it is not possible to further specialize the RedefinableElement. Default value is false.
setIsLeaf(boolean),
UML2Package.getRedefinableElement_IsLeaf()public void setIsLeaf(boolean value)
Is Leaf' attribute.
value - the new value of the 'Is Leaf' attribute.isLeaf()
public boolean validateRedefinitionContextValid(DiagnosticChain diagnostics,
Map context)
self.redefinedElement->forAll(e | self.isRedefinitionContextValid(e))
public boolean validateRedefinitionConsistent(DiagnosticChain diagnostics,
Map context)
self.redefinedElement->forAll(re | re.isConsistentWith(self))
public EList getRedefinitionContexts()
Classifier.
If the meaning of the 'Redefinition Context' reference list isn't clear, there really should be more of a description here...
the contexts that this element may be redefined from. This is a derived union.
UML2Package.getRedefinableElement_RedefinitionContext()public Classifier getRedefinitionContext(String unqualifiedName)
Classifier with the specified name from the 'Redefinition Context' reference list.
unqualifiedName - The unqualified name of the Classifier to retrieve.
Classifier with the specified name, or null.getRedefinitionContexts()public boolean isConsistentWith(RedefinableElement redefinee)
false
public boolean isRedefinitionContextValid(RedefinableElement redefinable)
self.redefinitionContext->exists(c | redefinable.redefinitionContext->exists(r | c.allParents()->includes(r)))
public EList getRedefinedElements()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||