01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.jee.jba;
17:
18: import javax.xml.bind.annotation.XmlAccessType;
19: import javax.xml.bind.annotation.XmlAccessorType;
20: import javax.xml.bind.annotation.XmlAttribute;
21: import javax.xml.bind.annotation.XmlRootElement;
22: import javax.xml.bind.annotation.XmlType;
23: import javax.xml.bind.annotation.XmlValue;
24: import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
25: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
26:
27: /**
28: *
29: */
30: @XmlAccessorType(XmlAccessType.FIELD)
31: @XmlType(name="",propOrder={"value"})
32: @XmlRootElement(name="loader-repository-config")
33: public class LoaderRepositoryConfig {
34:
35: @XmlAttribute
36: @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
37: protected String configParserClass;
38: @XmlValue
39: protected String value;
40:
41: /**
42: * Gets the value of the configParserClass property.
43: *
44: * @return
45: * possible object is
46: * {@link String }
47: *
48: */
49: public String getConfigParserClass() {
50: return configParserClass;
51: }
52:
53: /**
54: * Sets the value of the configParserClass property.
55: *
56: * @param value
57: * allowed object is
58: * {@link String }
59: *
60: */
61: public void setConfigParserClass(String value) {
62: this .configParserClass = value;
63: }
64:
65: /**
66: * Gets the value of the value property.
67: *
68: * @return
69: * possible object is
70: * {@link String }
71: *
72: */
73: public String getvalue() {
74: return value;
75: }
76:
77: /**
78: * Sets the value of the value property.
79: *
80: * @param value
81: * allowed object is
82: * {@link String }
83: *
84: */
85: public void setvalue(String value) {
86: this.value = value;
87: }
88:
89: }
|