View Javadoc

1   /*$Id: ParameterDirection.java,v 1.3 2004/07/26 00:57:46 nw Exp $
2    * Created on 25-May-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.description;
12  
13  /*** constants class that defines parameter direction (input / output).
14   * @todo dunno if this is needed really anymore s
15   * @author Noel Winstanley nw@jb.man.ac.uk 17-Jun-2004
16   *
17   */
18  public class ParameterDirection
19  {
20     private final String direction;
21     private ParameterDirection(String dir)
22     {
23        direction = dir;
24       
25     }
26  
27     public static final ParameterDirection INPUT = new ParameterDirection("input");
28     public static final ParameterDirection OUTPUT = new ParameterDirection("output");
29     public static final ParameterDirection NOTFOUND = new ParameterDirection("not found");
30    /* (non-Javadoc)
31     * @see java.lang.Object#toString()
32     */
33    public String toString() {
34       return direction;
35  
36    }
37  
38  }
39  
40  /* 
41  $Log: ParameterDirection.java,v $
42  Revision 1.3  2004/07/26 00:57:46  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  Revision 1.1.2.1  2004/05/28 10:23:10  nw
57  checked in early, broken version - but it builds and tests (fail)
58   
59  */