1 17 package org.eclipse.emf.mapping; 18 19 20 import java.util.Collection ; 21 22 import org.eclipse.emf.mapping.domain.MappingDomain; 23 24 25 43 public interface MappingRoot extends Mapping 44 { 45 59 boolean isOutputReadOnly(); 60 61 69 void setOutputReadOnly(boolean value); 70 71 85 boolean isTopToBottom(); 86 87 95 void setTopToBottom(boolean value); 96 97 111 String getCommandStack(); 112 113 121 void setCommandStack(String value); 122 123 126 MappingDomain getDomain(); 127 128 131 void setDomain(MappingDomain domain); 132 133 136 void refreshMappedObjectStates(Mapping subtree); 137 138 141 Collection getMappings(Object object); 142 143 147 Collection getAllMappings(Collection collection); 148 149 154 Collection getExactMappings(Collection collection); 155 156 159 Mapping getParentMapping(Collection collection); 160 161 165 boolean canCreateMapping(Collection inputs, Collection outputs, Mapping mapping); 166 167 170 boolean canRemoveMapping(Mapping mapping); 171 172 175 Mapping createMapping(Collection inputs, Collection outputs); 176 177 180 void resetDirty(); 181 182 185 boolean isDirty(); 186 187 190 boolean isOutputDirty(); 191 192 195 void setOutputDirty(boolean dirty); 196 197 200 boolean isInputObject(Object object); 201 202 205 boolean isOutputObject(Object object); 206 207 210 boolean isTopObject(Object object); 211 212 215 boolean isBottomObject(Object object); 216 217 220 boolean isAttachedObject(Object object); 221 222 225 void register(Mapping mapping); 226 227 230 void deregister(Mapping mapping); 231 232 235 MappedObjectState getMappedObjectState(Object object); 236 237 240 MappingRoot getTypeMappingRoot(); 241 242 245 void dispose(); 246 247 } 249 | Popular Tags |