KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > reflect > ClassList


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

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

18 public class ClassList implements Serializable JavaDoc {
19     /**
20      * List with all the possible target classes.
21      */

22     private Collection JavaDoc m_classes;
23
24     /**
25      * Returns the classes.
26      *
27      * @return the classes
28      */

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

38     public void setClasses(final Collection JavaDoc classes) {
39         m_classes = classes;
40     }
41 }
Popular Tags