01: package org.columba.core.context.base.api;
02:
03: import java.util.Iterator;
04:
05: /**
06: * List of mappings for a single specific type.
07: *
08: * @author frd
09: */
10: public interface IMappingGroup {
11:
12: public IStructureType getSourceType();
13:
14: public IStructureType getDestinationType();
15:
16: public void addMapping(IMapping mapping);
17:
18: public void removeMapping(int index);
19:
20: public IMapping getMapping(int index);
21:
22: public Iterator<IMapping> getAllMappings();
23: }
|