|
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.SingleValueRedefinableStructuralFeature
public class SingleValueRedefinableStructuralFeature
| Field Summary | |
|---|---|
protected EStructuralFeature |
feature
|
| Constructor Summary | |
|---|---|
protected |
SingleValueRedefinableStructuralFeature(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 |
Object |
getValue(Element element,
EObject contextHint)
|
boolean |
isApplicable(Element element)
|
boolean |
isValueInherited(Element element,
EObject contextHint)
|
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 SingleValueRedefinableStructuralFeature(EStructuralFeature feature)
| Method Detail |
|---|
public EStructuralFeature getBasicFeature()
getBasicFeature in interface RedefinableStructuralFeaturepublic 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 RedefinableStructuralFeature
public Object getValue(Element element,
EObject contextHint)
getValue in interface RedefinableStructuralFeature
public boolean isValueInherited(Element element,
EObject contextHint)
public 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 | |||||||||