1 26 27 package org.objectweb.openccm.generator.java.ast.lib; 28 29 import org.objectweb.openccm.generator.java.ast.api.Repository; 30 import org.objectweb.openccm.generator.java.ast.api.InterfaceObject; 31 import java.util.ArrayList ; 32 33 38 39 public class RepositoryImpl 40 implements Repository 41 { 42 48 49 private ArrayList contents_; 50 51 57 58 public 59 RepositoryImpl() 60 { 61 contents_ = new ArrayList (); 63 } 64 65 71 77 83 88 public void 89 addObject(InterfaceObject object) 90 { 91 contents_.add(object); 92 } 93 94 99 public ArrayList  100 getContents() 101 { 102 return contents_; 103 } 104 } 105 | Popular Tags |