/* * Created on May 29, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ package CDBuilder.couplingSyntaxEditor.convertToXML; import java.util.LinkedList; import java.util.ListIterator; /** * @author ssim * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class Container { private String name; private LinkedList contents; public Container(String name) { this.name = name; contents = new LinkedList(); } public void addItem(CouplingObject co) { contents.add(co); } public ListIterator getListOfItems() { return contents.listIterator(); } public String getName() { return name; } }