Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.mapping.domain
Interface MappingDomain

All Superinterfaces:
EditingDomain

All Known Implementing Classes:
AdapterFactoryMappingDomain


public interface MappingDomain
extends EditingDomain

This interface extends the editing domain to provide the additional needs for editing in a mapping scenario.


Field Summary
static int ENABLE_ALL
           
static int ENABLE_EMPTY_INPUTS
           
static int ENABLE_EMPTY_OUTPUTS
           
static int ENABLE_INCOMPATIBLE_METAOBJECTS
           
static int ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS
           
static int ENABLE_MULTIPLE_INPUT_MAPPINGS
           
static int ENABLE_MULTIPLE_INPUTS
           
static int ENABLE_MULTIPLE_OUTPUT_MAPPINGS
           
static int ENABLE_MULTIPLE_OUTPUTS
           
static int ENABLE_UNMAPPED_PARENTS
           
 
Method Summary
 int getMappingEnablementFlags()
          This returns a set of flags that control enablement of mapping creation and removal commands for this domain.
 MappingRoot getMappingRoot()
          This returns the mapping root for this domain.
 String getName(Object object)
          This returns the name of the object.
 EObject getOutputMetaObject(EObject inputMetaObject)
          This returns the output meta object corresponding to the given input meta object.
 String getOutputName(String inputName)
          This returns the corresponding output name for the given input name.
 Object getOutputTypeClassifier(Object inputTypeClassifier)
          This returns the corresponding type classifier for the given input type classifier.
 Object getTypeClassifier(Object mappedObject)
          This returns the type classifier of the input or output object.
 List parseInputName(String inputName)
          This returns the list of words (substrings) in the specified input name.
 List parseOutputName(String outputName)
          This returns the list of words (substrings) in the specified output name.
 void setMappingRoot(MappingRoot root)
          This sets the mapping root for this domain to use.
 void setName(Object object, String name)
          This sets the name of the object.
 void setTypeClassifier(Object mappedObject, Object typeClassifier)
          This sets the type classifier of the input or output object.
 
Methods inherited from interface org.eclipse.emf.edit.domain.EditingDomain
createCommand, createOverrideCommand, createResource, getChildren, getClipboard, getCommandStack, getNewChildDescriptors, getOptimizeCopy, getParent, getResourceSet, getRoot, getTreePath, isReadOnly, loadResource, setClipboard, treeIterator
 

 

Field Detail

 

 

ENABLE_MULTIPLE_INPUTS

public static final int ENABLE_MULTIPLE_INPUTS

See Also:
Constant Field Values


 

 

ENABLE_MULTIPLE_OUTPUTS

public static final int ENABLE_MULTIPLE_OUTPUTS

See Also:
Constant Field Values


 

 

ENABLE_MULTIPLE_INPUT_MAPPINGS

public static final int ENABLE_MULTIPLE_INPUT_MAPPINGS

See Also:
Constant Field Values


 

 

ENABLE_MULTIPLE_OUTPUT_MAPPINGS

public static final int ENABLE_MULTIPLE_OUTPUT_MAPPINGS

See Also:
Constant Field Values


 

 

ENABLE_INCOMPATIBLE_METAOBJECTS

public static final int ENABLE_INCOMPATIBLE_METAOBJECTS

See Also:
Constant Field Values


 

 

ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS

public static final int ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS

See Also:
Constant Field Values


 

 

ENABLE_EMPTY_INPUTS

public static final int ENABLE_EMPTY_INPUTS

See Also:
Constant Field Values


 

 

ENABLE_EMPTY_OUTPUTS

public static final int ENABLE_EMPTY_OUTPUTS

See Also:
Constant Field Values


 

 

ENABLE_UNMAPPED_PARENTS

public static final int ENABLE_UNMAPPED_PARENTS

See Also:
Constant Field Values


 

 

ENABLE_ALL

public static final int ENABLE_ALL

See Also:
Constant Field Values
Method Detail

 

 

getOutputMetaObject

public EObject getOutputMetaObject(EObject inputMetaObject)

This returns the output meta object corresponding to the given input meta object.


 

 

getName

public String getName(Object object)

This returns the name of the object.


 

 

setName

public void setName(Object object,
                    String name)

This sets the name of the object.


 

 

getOutputName

public String getOutputName(String inputName)

This returns the corresponding output name for the given input name.


 

 

parseOutputName

public List parseOutputName(String outputName)

This returns the list of words (substrings) in the specified output name.


 

 

parseInputName

public List parseInputName(String inputName)

This returns the list of words (substrings) in the specified input name.


 

 

getTypeClassifier

public Object getTypeClassifier(Object mappedObject)

This returns the type classifier of the input or output object.


 

 

setTypeClassifier

public void setTypeClassifier(Object mappedObject,
                              Object typeClassifier)

This sets the type classifier of the input or output object.


 

 

getOutputTypeClassifier

public Object getOutputTypeClassifier(Object inputTypeClassifier)

This returns the corresponding type classifier for the given input type classifier.


 

 

getMappingRoot

public MappingRoot getMappingRoot()

This returns the mapping root for this domain.


 

 

setMappingRoot

public void setMappingRoot(MappingRoot root)

This sets the mapping root for this domain to use.


 

 

getMappingEnablementFlags

public int getMappingEnablementFlags()

This returns a set of flags that control enablement of mapping creation and removal commands for this domain.


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD