View Javadoc

1   /***
2   *
3   * The owl-s matcher software is subject to the GNU Lesser General
4   * Public License Version 2.1 (the "License"). You may not copy or use this
5   * file, in either source code or executable form, except in compliance
6   * with the License. You may obtain a copy of the License at
7   * http://www.fsf.org/licenses/lgpl.txt or http://www.opensource.org/.
8   *
9   * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied without
11  * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  * PURPOSE. See the License for the specific language governing rights and
13  * limitations under the License.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this distribution; if not, write to the
17  *
18  * Free Software Foundation, Inc.,
19  * 59 Temple Place, Suite 330,
20  * Boston, MA  02111-1307 USA
21  *
22  * Copyright (C) 2003-2004
23  * TU Berlin, FG IVS
24  * Stefan Tang,
25  * Christoph Liebetruth,
26  * Michael C. Jaeger, 
27  *
28  * More information available at http://ivs.tu-berlin.de/
29  *
30  * $Id$
31  *
32  */
33  package de.tuberlin.ivs.owl.service;
34  
35  /***
36   * Superclass for input, output, precondition and effect (IOPE).
37   *
38   * @author Stefan Tang (steftang@stanford.edu), Christoph Liebetruth (christophl@voelcker.com)
39   * @version 1.1
40   */
41  public class Parameter {
42  
43    /***
44     * Default constructor.
45     */
46    public Parameter() {
47    }
48  
49    /***
50     * The name of this parameter property, as an IOPE for a profile can be sub-
51     * classified. The property name is thus the name of the classified IOPE.
52     */
53    private String propertyName;
54  
55    /***
56     * The resourceID of the process parameter rdf-ID
57     */
58    private String refersTo;
59  
60    /***
61     * Returns the The resource ID associated with this IOPE.
62     * @return The parameter description.
63     */
64    public String getRefersTo() {
65      return( this.refersTo );
66    }
67  
68    /***
69     * Sets the refersTo resource ID for this IOPE.
70     * @param refersTo The resource ID
71     */
72    public void setRefersTo( String refersTo )
73    {
74      this.refersTo = refersTo;
75    }
76  
77      private String restrictedTo;
78  
79        public String getRestrictedTo() {
80          return( this.restrictedTo );
81        }
82  
83        public void setRestrictedTo( String restrictedTo )
84        {
85          this.restrictedTo = restrictedTo;
86        }
87  
88    /***
89     * Returns the name of this IOPE property, as an IOPE for a profile can be sub-
90     * classified. The property name is thus the name of the classified IOPE
91     * or the name of the IOPE itself if it is unclassified.
92     * @return
93     */
94    public String getPropertyName() {
95      return propertyName;
96    }
97  
98    /***
99     * Sets the property name for this IOPE.
100    * @param propertyName Either the IOPE name if this IOPE is unclassified, otherwise
101    * the classified property name.
102    */
103   public void setPropertyName(String propertyName) {
104     this.propertyName = propertyName;
105   }
106   
107 }