KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > reflect > ClassList


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.aspectwerkz.reflect;
5
6 import java.io.Serializable JavaDoc;
7 import java.util.Collection JavaDoc;
8
9 /**
10  * A list of all the possible target classes.
11  *
12  * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>
13  */

14 public class ClassList implements Serializable JavaDoc {
15   /**
16    * List with all the possible target classes.
17    */

18   private Collection JavaDoc m_classes;
19
20   /**
21    * Returns the classes.
22    *
23    * @return the classes
24    */

25   public Collection JavaDoc getClasses() {
26     return m_classes;
27   }
28
29   /**
30    * Appends a new list of classes to the old one.
31    *
32    * @param classes the classes to append
33    */

34   public void setClasses(final Collection JavaDoc classes) {
35     m_classes = classes;
36   }
37 }
Popular Tags