View Javadoc

1   /*$Id: JavaClassParameterDescription.java,v 1.3 2004/07/26 10:21:47 nw Exp $
2    * Created on 08-Jun-2004
3    *
4    * Copyright (C) AstroGrid. All rights reserved.
5    *
6    * This software is published under the terms of the AstroGrid 
7    * Software License version 1.2, a copy of which has been included 
8    * with this distribution in the LICENSE.txt file.  
9    *
10  **/
11  package org.astrogrid.applications.javaclass;
12  
13  import org.astrogrid.applications.description.base.BaseParameterDescription;
14  
15  /*** A {@link org.astrogrid.applications.description.ParameterDescription} for a {@link org.astrogrid.applications.javaclass.JavaClassApplication}
16   * <p>
17   * This paramter description extends the base one with  an extra field - the 'target-class' for this parameter - i.e. the true java-class that this parameter
18   * has to be converted to when calling the application method.
19   * @author Noel Winstanley nw@jb.man.ac.uk 08-Jun-2004
20   *
21   */
22  public class JavaClassParameterDescription extends BaseParameterDescription {
23      protected Class targetClass;
24      
25      /*** Access the target class for this parameter
26       * @return the class representing the expected type for this parameter
27       */
28      public Class getTargetClass() {
29          return targetClass;
30      }
31      /*** See the targetClass attribute for this parameter
32       * @param c the expected type for this parameter.
33       */
34      public void setTargetClass(Class c) {
35          this.targetClass = c;
36      }
37  }
38  
39  
40  /* 
41  $Log: JavaClassParameterDescription.java,v $
42  Revision 1.3  2004/07/26 10:21:47  nw
43  javadoc
44  
45  Revision 1.2  2004/07/01 11:16:22  nw
46  merged in branch
47  nww-itn06-componentization
48  
49  Revision 1.1.2.2  2004/07/01 01:42:46  nw
50  final version, before merge
51  
52  Revision 1.1.2.1  2004/06/14 08:56:58  nw
53  factored applications into sub-projects,
54  got packaging of wars to work again
55   
56  */