1 package org.apache.fulcrum.json.jackson.example;
2 /*
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 */
20 import java.util.HashMap;
21 import java.util.Map;
22
23 public class TestClass
24
25 {
26 /** Container for the components */
27 private Map<String, Object> container;
28 /** Setup our default configurationFileName */
29 private String configurationName = "Config.xml";
30
31 public Map<String, Object> getContainer() {
32 return container;
33 }
34
35 public void setContainer(Map<String, Object> container) {
36 this.container = container;
37 }
38
39 /** Setup our default parameterFileName */
40 private String name = null;
41
42 public TestClass() {
43 // TODO Auto-generated constructor stub
44 }
45
46 public TestClass(String name) {
47 this.name = name;
48 this.container = new HashMap<String, Object>();
49 this.container.put("cf", configurationName);
50 }
51
52 public String getName() {
53 return name;
54 }
55
56 public void setName(String name) {
57 this.name = name;
58 }
59
60 public String getConfigurationName() {
61 return configurationName;
62 }
63
64 public void setConfigurationName(String configurationName) {
65 this.configurationName = configurationName;
66 }
67
68 }