UML Modeling Layer

com.ibm.xtools.uml.msl.internal.redefinition
Interface IRedefSupport

All Known Implementing Classes:
RedefSupportImpl

public interface IRedefSupport


Method Summary
 boolean canRedefine(Element el, EObject contextHint)
          Answers whether the element in question is redefinable in the context of a specialized class
 void changeRedefinitionRoot(Element newRoot, Element oldRoot)
          Change the root fragment of existing redefinition hierarchy tree from oldRoot to newRoot
 RedefinableStructuralFeature[] getRedefinableFeatures()
           
 EStructuralFeature[] getSharedFeatures()
           
 boolean isEventBrokerRedefinitionAware()
           
 boolean isInheritable(Element el, EObject contextHint)
          Answers whether the element in question can be inherited in the given context
 Element redefine(Element el, EObject contextHint)
          redefines given redefinable element in the context of a specialized class
 void setRedefinition(Element redefining, Element redefined)
          Sets redefinition relationship between two existing fragments
 

Method Detail

isEventBrokerRedefinitionAware

boolean isEventBrokerRedefinitionAware()
Returns:
true if the currently instantiated event broker is redefinition-aware

getSharedFeatures

EStructuralFeature[] getSharedFeatures()
Returns:
array of structural features representing shared (inheritable, but not redefinable) properties of redefinable elements

getRedefinableFeatures

RedefinableStructuralFeature[] getRedefinableFeatures()
Returns:
array of structural features representing redefinable properties of redefinable elements

redefine

Element redefine(Element el,
                 EObject contextHint)
redefines given redefinable element in the context of a specialized class

Parameters:
el -
context -
Returns:
a new or existing redefintion

canRedefine

boolean canRedefine(Element el,
                    EObject contextHint)
Answers whether the element in question is redefinable in the context of a specialized class

Parameters:
el -
contextHint -
Returns:

isInheritable

boolean isInheritable(Element el,
                      EObject contextHint)
Answers whether the element in question can be inherited in the given context

Parameters:
el -
contextHint -
Returns:

changeRedefinitionRoot

void changeRedefinitionRoot(Element newRoot,
                            Element oldRoot)
Change the root fragment of existing redefinition hierarchy tree from oldRoot to newRoot

Parameters:
newRedefintionRoot -
oldRedefinitionRoot -

setRedefinition

void setRedefinition(Element redefining,
                     Element redefined)
Sets redefinition relationship between two existing fragments

Parameters:
redefining -
redefined -

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.