View Javadoc

    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;
    11  import java.util.Collection;
    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 {
    19      /***
    20       * List with all the possible target classes.
    21       */
    22      private Collection m_classes;
    23
    24      /***
    25       * Returns the classes.
    26       *
    27       * @return the classes
    28       */
    29      public Collection 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 classes) {
    39          m_classes = classes;
    40      }
    41  }