Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/biomage/Interface/HasProtocolApplications.java


1   /***************************************************************************  
2    *                                                                         *
3    * C O P Y R I G H T   N O T I C E                                         * 
4    *  Copyright (c) 2001 by:                                                 *
5    *    * The MicroArray Gene Expression Database group (MGED)               *
6    *    * Rosetta Inpharmatics                                               *
7    *                                                                         *
8    *    All Rights Reserved.                                                 *
9    *                                                                         *
10   * Permission is hereby granted, free of charge, to any person             *
11   * obtaining a copy of this software and associated documentation files    *
12   * (the "Software"), to deal in the Software without restriction,          *
13   * including without limitation the rights to use, copy, modify, merge,    *
14   * publish, distribute, sublicense, and/or sell copies of the Software,    *
15   * and to permit persons to whom the Software is furnished to do so,       *
16   * subject to the following conditions:                                    *
17   *                                                                         *
18   * The above copyright notice and this permission notice shall be          *
19   * included in all copies or substantial portions of the Software.         *
20   *                                                                         *
21   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,         *
22   * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF      * 
23   * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND                   *
24   * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS     *
25   * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN      *
26   * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN       *
27   * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE        *
28   * SOFTWARE.                                                               *
29   ***************************************************************************
30   *                                                                         *
31   * Created by the create_mage_java_classes java program based on the       * 
32   * information in the xmi file created from the MAGE-OM UML model,         *
33   * copyright European Bioinformatics Institute (EBI) for MGED and Rosetta  *
34   * Informatics.                                                            *
35   *                                                                         *
36   * The ideas and work are built on the previous work in perl of Jason      *
37   * Stewart, Open Informatics, and Robert M. Hubley, Institute for Systems  *
38   * Biology                                                                 *
39   *                                                                         *
40   * @author  Michael Miller, Rosetta Inpharmatics                           *
41   * @version Revision: 1.0                                                  *
42   * @date    Thu, Feb 21, 2002 10:47:24 AM                                  *
43   *                                                                         *
44   ***************************************************************************
45   */
46  
47  /**
48   *  org.biomage.Interface
49   *  
50   */
51  package org.biomage.Interface;
52  
53  /**
54   *  Import list for HasProtocolApplications
55   *  
56   */
57  import java.util.*;
58  import org.biomage.Protocol.ProtocolApplication;
59  
60  public
61  interface HasProtocolApplications
62  {
63      /**
64       *  Inner list class for holding multiple entries for attribute 
65       *  protocolApplications.  Simply creates a named vector.
66       *  
67       */
68      public
69      class
70      ProtocolApplications_list extends Vector
71      {
72      }
73  
74      /**
75       *  Set method for protocolApplications
76       *  <p>
77       *  @param value to set
78       *  <p>
79       *  
80       */
81      public
82      void
83      setProtocolApplications(
84          ProtocolApplications_list protocolApplications
85      );
86  
87      /**
88       *  Get method for protocolApplications
89       *  <p>
90       *  @return value of the attribute
91       *  <p>
92       *  
93       */
94      public
95      ProtocolApplications_list
96      getProtocolApplications();
97  
98      /**
99       *  Method to add ProtocolApplication to ProtocolApplications_list
100      *  
101      */
102     public
103     void
104     addToProtocolApplications(
105         ProtocolApplication protocolApplication
106     );
107 
108     /**
109      *  Method to add ProtocolApplication at position to 
110      *  ProtocolApplications_list
111      *  
112      */
113     public
114     void
115     addToProtocolApplications(
116         int position,
117         ProtocolApplication protocolApplication
118     );
119 
120     /**
121      *  Method to get ProtocolApplication from ProtocolApplications_list
122      *  
123      */
124     public
125     ProtocolApplication
126     getFromProtocolApplications(
127         int position
128     );
129 
130     /**
131      *  Method to remove by position from ProtocolApplications_list
132      *  
133      */
134     public
135     void
136     removeElementAtFromProtocolApplications(
137         int position
138     );
139 
140     /**
141      *  Method to remove first ProtocolApplication from 
142      *  ProtocolApplications_list
143      *  
144      */
145     public
146     void
147     removeFromProtocolApplications(
148         ProtocolApplication protocolApplication
149     );
150 
151 }