View Javadoc

1   /*$Id: ApplicationDescriptionSummary.java,v 1.4 2004/12/03 14:47:41 jdt Exp $
2    * Created on 10-Nov-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.portal.workflow.intf;
12  
13  /*** A little container object, that contains some interesting suymmary info about an application.
14   * @script-summary a summary of an application
15   * @script-doc a summary of an application.
16   * @author Noel Winstanley nw@jb.man.ac.uk 10-Nov-2004
17   *
18   */
19  public class ApplicationDescriptionSummary {
20  
21      /*** Construct a new ApplicationDescriptionSummary
22       * 
23       */
24      public ApplicationDescriptionSummary(String name,String uiName,String[] interfaceNames) {
25          this.name = name;
26          this.uiName = uiName;
27          this.interfaceNames = interfaceNames;
28      }
29      
30      protected final String name;
31      protected final String uiName;
32      protected final String[] interfaceNames;
33      
34      /*** system name of the application */
35      public String getName() {
36          return name;
37      }
38      
39      /*** user-friendly name of the appliication */
40      public String getUIName() {
41          return uiName;
42      }
43      /*** array of the interface names for this application */
44      public String[] getInterfaceNames() {
45          return interfaceNames;
46      }
47      
48  
49  }
50  
51  
52  /* 
53  $Log: ApplicationDescriptionSummary.java,v $
54  Revision 1.4  2004/12/03 14:47:41  jdt
55  Merges from workflow-nww-776
56  
57  Revision 1.3.4.1  2004/12/01 21:08:35  nw
58  scripting documentation
59  
60  Revision 1.3  2004/11/12 18:14:43  clq2
61  nww-itn07-590b again.
62  
63  Revision 1.1.2.1  2004/11/10 13:33:32  nw
64  added new method to ApplicationRegistry - listUIApplications
65   
66  */