View Javadoc

1   
2   /*
3   * The contents of this file are subject to the BT "ZEUS" Open Source 
4   * Licence (L77741), Version 1.0 (the "Licence"); you may not use this file 
5   * except in compliance with the Licence. You may obtain a copy of the Licence
6   * from $ZEUS_INSTALL/licence.html or alternatively from
7   * http://www.labs.bt.com/projects/agents/zeus/licence.htm
8   * 
9   * Except as stated in Clause 7 of the Licence, software distributed under the
10  * Licence is distributed WITHOUT WARRANTY OF ANY KIND, either express or 
11  * implied. See the Licence for the specific language governing rights and 
12  * limitations under the Licence.
13  * 
14  * The Original Code is within the package zeus.*.
15  * The Initial Developer of the Original Code is British Telecommunications
16  * public limited company, whose registered office is at 81 Newgate Street, 
17  * London, EC1A 7AJ, England. Portions created by British Telecommunications 
18  * public limited company are Copyright 1996-2001. All Rights Reserved.
19  * 
20  * THIS NOTICE MUST BE INCLUDED ON ANY COPY OF THIS FILE
21  */
22  
23  package zeus.concepts;
24  import java.util.*; 
25  
26  
27  public class FIPA_Property { 
28      
29   private String name = null;
30   private String value = null; 
31   
32   public void setName (String name) { 
33    this.name = name;  
34   }
35  
36  
37   public void setValue (String value) { 
38      this.value = value; 
39   }
40   
41   
42   public String getName () { 
43      return this.name; 
44   }
45   
46   
47   public String getValue () { 
48      return this.value; 
49   }
50   
51   
52   public String toString () { 
53      String retVal = new String("(property :name " + name +" :value "+value +") "); 
54      return retVal; 
55   }
56  
57   
58      
59  }