public interface Mapping extends EObject
The following features are supported:
MappingPackage.getMapping()
Modifier and Type | Method and Description |
---|---|
EList<EObject> |
getBottoms()
This returns the same as either
getInputs() or getOutputs()
depending on the mapping root's isTopToBottom. |
MappingHelper |
getEffectiveHelper()
This returns the mapping helper for this mapping, if it has one.
|
MappingHelper |
getHelper()
Returns the value of the 'Helper' containment reference.
|
EList<EObject> |
getInputs()
Returns the value of the 'Inputs' reference list.
|
java.util.Collection<? extends EObject> |
getMappedObjects()
This returns a set containing the results of
getInputs() and getOutputs() . |
MappingRoot |
getMappingRoot()
This returns either the containing mapping root or the object itself, if it is a mapping root.
|
EList<Mapping> |
getNested()
Returns the value of the 'Nested' containment reference list.
|
Mapping |
getNestedIn()
Returns the value of the 'Nested In' container reference.
|
EList<EObject> |
getOutputs()
Returns the value of the 'Outputs' reference list.
|
EList<EObject> |
getReceivers()
This returns the same as
getOutputs() if isReverse() returns false. |
EList<EObject> |
getSenders()
This returns the same as
getInputs() if isReverse() returns false. |
EList<EObject> |
getTops()
This returns the same as either
getInputs() or getOutputs()
depending on the mapping root's isTopToBottom. |
Mapping |
getTypeMapping()
Returns the value of the 'Type Mapping' reference
|
boolean |
isReverse()
This method is delegated to the containing mapping if one exists, or returns false otherwise.
|
void |
setHelper(MappingHelper value)
Sets the value of the '
Helper ' containment reference |
void |
setNestedIn(Mapping value)
Sets the value of the '
Nested In ' container reference |
void |
setTypeMapping(Mapping value)
Sets the value of the '
Type Mapping ' reference |
TreeIterator<Mapping> |
treeIterator()
This returns a tree iterator that iterates over this mapping,
all it's nested mappings,
and their nested mappings,
and so on.
|
TreeIterator<Mapping> |
treeIterator(boolean includeRoot)
This returns a tree iterator that iterates over this mapping (but only if includeRoot is true),
all it's nested mappings,
and their nested mappings,
and so on.
|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MappingHelper getHelper()
Mapper
'.
setHelper(MappingHelper)
,
MappingPackage.getMapping_Helper()
,
MappingHelper.getMapper()
void setHelper(MappingHelper value)
Helper
' containment reference.
value
- the new value of the 'Helper' containment reference.getHelper()
EList<Mapping> getNested()
Mapping
.
It is bidirectional and its opposite is 'Nested In
'.
MappingPackage.getMapping_Nested()
,
getNestedIn()
Mapping getNestedIn()
Nested
'.
setNestedIn(Mapping)
,
MappingPackage.getMapping_NestedIn()
,
getNested()
void setNestedIn(Mapping value)
Nested In
' container reference.
value
- the new value of the 'Nested In' container reference.getNestedIn()
EList<EObject> getInputs()
EObject
.
MappingPackage.getMapping_Inputs()
EList<EObject> getOutputs()
EObject
.
MappingPackage.getMapping_Outputs()
Mapping getTypeMapping()
setTypeMapping(Mapping)
,
MappingPackage.getMapping_TypeMapping()
void setTypeMapping(Mapping value)
Type Mapping
' reference.
value
- the new value of the 'Type Mapping' reference.getTypeMapping()
java.util.Collection<? extends EObject> getMappedObjects()
getInputs()
and getOutputs()
.EList<EObject> getTops()
getInputs()
or getOutputs()
depending on the mapping root's isTopToBottom.EList<EObject> getBottoms()
getInputs()
or getOutputs()
depending on the mapping root's isTopToBottom.MappingRoot getMappingRoot()
boolean isReverse()
EList<EObject> getSenders()
getInputs()
if isReverse()
returns false.
Otherwise it returns the same as getOutputs()
.EList<EObject> getReceivers()
getOutputs()
if isReverse()
returns false.
Otherwise it returns the same as getInputs()
.MappingHelper getEffectiveHelper()
TreeIterator<Mapping> treeIterator()
TreeIterator<Mapping> treeIterator(boolean includeRoot)