KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > core > context > base > api > IMappingGroup


1 package org.columba.core.context.base.api;
2
3 import java.util.Iterator JavaDoc;
4
5 /**
6  * List of mappings for a single specific type.
7  *
8  * @author frd
9  */

10 public interface IMappingGroup {
11
12     public IStructureType getSourceType();
13     public IStructureType getDestinationType();
14     
15     public void addMapping(IMapping mapping);
16     
17     public void removeMapping(int index);
18     public IMapping getMapping(int index);
19     
20     public Iterator JavaDoc<IMapping> getAllMappings();
21 }
22
Popular Tags