org.eclipse.emf.mapping.command
Class TypeMatchMappingCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.CompoundCommand
org.eclipse.emf.mapping.command.MatchMappingCommand
org.eclipse.emf.mapping.command.TypeMatchMappingCommand
- All Implemented Interfaces:
- Command
- public class TypeMatchMappingCommand
- extends MatchMappingCommand
Method Summary |
static Command |
create(MappingDomain domain,
Mapping mapping)
This creates a command that creates a new child mappings for the given mapping
by attempting to match by type input children with output children. |
protected boolean |
match(Object inputObject,
Object outputObject,
Collection mappedObjects)
|
Methods inherited from class org.eclipse.emf.common.command.CompoundCommand |
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, execute, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, redo, undo, unwrap |
TypeMatchMappingCommand
public TypeMatchMappingCommand(MappingDomain domain,
Mapping mapping)
create
public static Command create(MappingDomain domain,
Mapping mapping)
- This creates a command that creates a new child mappings for the given mapping
by attempting to match by type input children with output children.
match
protected boolean match(Object inputObject,
Object outputObject,
Collection mappedObjects)
- Specified by:
match
in class MatchMappingCommand