1 17 package org.eclipse.emf.mapping.domain; 18 19 20 import java.util.List ; 21 22 import org.eclipse.emf.ecore.EObject; 23 import org.eclipse.emf.edit.domain.EditingDomain; 24 import org.eclipse.emf.mapping.MappingRoot; 25 26 27 30 31 32 35 public interface MappingDomain extends EditingDomain 36 { 37 40 EObject getOutputMetaObject(EObject inputMetaObject); 41 42 45 String getName(Object object); 46 47 50 void setName(Object object, String name); 51 52 55 String getOutputName(String inputName); 56 57 60 List parseOutputName(String outputName); 61 62 65 List parseInputName(String inputName); 66 67 70 Object getTypeClassifier(Object mappedObject); 71 72 75 void setTypeClassifier(Object mappedObject, Object typeClassifier); 76 77 80 Object getOutputTypeClassifier(Object inputTypeClassifier); 81 82 85 MappingRoot getMappingRoot(); 86 87 90 void setMappingRoot(MappingRoot root); 91 92 95 int getMappingEnablementFlags(); 96 97 static final int ENABLE_MULTIPLE_INPUTS = 0x0001; 98 static final int ENABLE_MULTIPLE_OUTPUTS = 0x0002; 99 static final int ENABLE_MULTIPLE_INPUT_MAPPINGS = 0x0004; 100 static final int ENABLE_MULTIPLE_OUTPUT_MAPPINGS = 0x0008; 101 static final int ENABLE_INCOMPATIBLE_METAOBJECTS = 0x0010; 102 static final int ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS = 0x0020; 103 static final int ENABLE_EMPTY_INPUTS = 0x0040; 104 static final int ENABLE_EMPTY_OUTPUTS = 0x0080; 105 static final int ENABLE_UNMAPPED_PARENTS = 0x0100; 106 static final int ENABLE_ALL = 0xFFFF; 107 108 } 109 | Popular Tags |