KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > hivemind > impl > FactoryDefault


1 // Copyright 2004, 2005 The Apache Software Foundation
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14

15 package org.apache.hivemind.impl;
16
17
18 /**
19  * Default symbol value defined by the
20  * <code>hivemind.FactoryDefaults</code> extension point.
21  *
22  * @author Howard Lewis Ship
23  */

24 public class FactoryDefault
25 {
26     private String JavaDoc _symbol;
27     private String JavaDoc _value;
28
29     public FactoryDefault()
30     {
31     }
32     
33     public FactoryDefault(String JavaDoc symbol, String JavaDoc value)
34     {
35         _symbol = symbol;
36         _value = value;
37     }
38     
39     public String JavaDoc getSymbol()
40     {
41         return _symbol;
42     }
43
44     public String JavaDoc getValue()
45     {
46         return _value;
47     }
48
49     public void setSymbol(String JavaDoc string)
50     {
51         _symbol = string;
52     }
53
54     public void setValue(String JavaDoc string)
55     {
56         _value = string;
57     }
58
59 }
60
Popular Tags