View Javadoc

1   /*
2    * Plugin.java
3    *
4    * Created on 17 de Maio de 2005, 06:14
5    */
6   
7   package org.thema.scriptware.digester;
8   
9   import java.util.ArrayList;
10  
11  /***
12   *
13   * @author Eduardo M . Sasso
14   */
15  public class Plugin {
16      private String name;
17      private ArrayList script;
18      
19      /*** Creates a new instance of Plugin */
20      public Plugin() {
21          script = new ArrayList();
22      }
23  
24      public String getName() {
25          return name;
26      }
27  
28      public void setName(String name) {
29          this.name = name;
30      }
31  
32      public void addScript(Script sql) {
33          script.add(sql);
34      }
35      
36      public ArrayList getScripts(){
37          return script;
38      }
39      
40  }