|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xtools.uml.msl.internal.redefinition.MultiValueRedefinableStructuralFeature
public abstract class MultiValueRedefinableStructuralFeature
| Field Summary | |
|---|---|
protected EStructuralFeature |
feature
|
| Constructor Summary | |
|---|---|
protected |
MultiValueRedefinableStructuralFeature(EStructuralFeature feature)
|
| Method Summary | |
|---|---|
void |
absorbInheritedContent(Element redefining,
Classifier newRootRedefContext,
boolean absorbCollections,
boolean absorbReferencees,
Map replacements)
Transfers content of redefined fragment to redefining fragment |
void |
absorbInheritedContentFromPredecessor(Element redefining,
Map replacements)
Transfers content of redefined fragment to redefining fragment |
void |
copyContent(Element source,
Element target)
Copy local and inherited content from source to target |
void |
copyLocalContent(Element source,
Element target)
copies local content from the source element to the target element |
EStructuralFeature |
getBasicFeature()
|
Object |
getInheritedContent(Element fragment)
Gets inherited content of the given CONTEXTUAL fragment |
protected List |
getLocalContent(Element fragment)
|
abstract Object |
getValue(Element element,
EObject contextHint)
|
boolean |
isApplicable(Element element)
|
void |
onExclude(RedefinableElement el)
Removes content from the feature when the given fragment gets excluded |
void |
onRedefine(Element redefined,
Element redefining)
Sets the newly redefined fragment's feature in correct state |
void |
setValue(Element element,
Object value)
sets the value to the given CONTEXTUAL (local to its context) fragment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final EStructuralFeature feature
| Constructor Detail |
|---|
protected MultiValueRedefinableStructuralFeature(EStructuralFeature feature)
| Method Detail |
|---|
public abstract Object getValue(Element element,
EObject contextHint)
getValue in interface RedefinableStructuralFeaturepublic EStructuralFeature getBasicFeature()
getBasicFeature in interface RedefinableStructuralFeatureprotected List getLocalContent(Element fragment)
public Object getInheritedContent(Element fragment)
RedefinableStructuralFeature
getInheritedContent in interface RedefinableStructuralFeature
public void copyContent(Element source,
Element target)
RedefinableStructuralFeature
copyContent in interface RedefinableStructuralFeature
public void absorbInheritedContent(Element redefining,
Classifier newRootRedefContext,
boolean absorbCollections,
boolean absorbReferencees,
Map replacements)
RedefinableStructuralFeature
absorbInheritedContent in interface RedefinableStructuralFeature
public void absorbInheritedContentFromPredecessor(Element redefining,
Map replacements)
RedefinableStructuralFeature
absorbInheritedContentFromPredecessor in interface RedefinableStructuralFeaturepublic boolean isApplicable(Element element)
isApplicable in interface RedefinableStructuralFeature
public void onRedefine(Element redefined,
Element redefining)
RedefinableStructuralFeature
onRedefine in interface RedefinableStructuralFeaturepublic void onExclude(RedefinableElement el)
RedefinableStructuralFeature
onExclude in interface RedefinableStructuralFeature
public void setValue(Element element,
Object value)
RedefinableStructuralFeature
setValue in interface RedefinableStructuralFeature
public void copyLocalContent(Element source,
Element target)
RedefinableStructuralFeature
copyLocalContent in interface RedefinableStructuralFeature
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||