|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
FactoryDefault.java | - | 100% | 100% | 100% |
|
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.service.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 _symbol; | |
27 | private String _value; | |
28 | ||
29 | 3 | public String getSymbol() |
30 | { | |
31 | 3 | return _symbol; |
32 | } | |
33 | ||
34 | 3 | public String getValue() |
35 | { | |
36 | 3 | return _value; |
37 | } | |
38 | ||
39 | 3 | public void setSymbol(String string) |
40 | { | |
41 | 3 | _symbol = string; |
42 | } | |
43 | ||
44 | 3 | public void setValue(String string) |
45 | { | |
46 | 3 | _value = string; |
47 | } | |
48 | ||
49 | } |
|