001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.jba;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: *
026: */
027: @XmlAccessorType(XmlAccessType.FIELD)
028: @XmlType(name="",propOrder={"serviceRefName","configName","configFile","wsdlOverride"})
029: @XmlRootElement(name="service-ref")
030: public class ServiceRef {
031:
032: @XmlElement(name="service-ref-name",required=true)
033: protected String serviceRefName;
034: @XmlElement(name="config-name")
035: protected String configName;
036: @XmlElement(name="config-file")
037: protected String configFile;
038: @XmlElement(name="wsdl-override")
039: protected String wsdlOverride;
040:
041: /**
042: * Gets the value of the serviceRefName property.
043: *
044: * @return
045: * possible object is
046: * {@link String }
047: *
048: */
049: public String getServiceRefName() {
050: return serviceRefName;
051: }
052:
053: /**
054: * Sets the value of the serviceRefName property.
055: *
056: * @param value
057: * allowed object is
058: * {@link String }
059: *
060: */
061: public void setServiceRefName(String value) {
062: this .serviceRefName = value;
063: }
064:
065: /**
066: * Gets the value of the configName property.
067: *
068: * @return
069: * possible object is
070: * {@link String }
071: *
072: */
073: public String getConfigName() {
074: return configName;
075: }
076:
077: /**
078: * Sets the value of the configName property.
079: *
080: * @param value
081: * allowed object is
082: * {@link String }
083: *
084: */
085: public void setConfigName(String value) {
086: this .configName = value;
087: }
088:
089: /**
090: * Gets the value of the configFile property.
091: *
092: * @return
093: * possible object is
094: * {@link String }
095: *
096: */
097: public String getConfigFile() {
098: return configFile;
099: }
100:
101: /**
102: * Sets the value of the configFile property.
103: *
104: * @param value
105: * allowed object is
106: * {@link String }
107: *
108: */
109: public void setConfigFile(String value) {
110: this .configFile = value;
111: }
112:
113: /**
114: * Gets the value of the wsdlOverride property.
115: *
116: * @return
117: * possible object is
118: * {@link String }
119: *
120: */
121: public String getWsdlOverride() {
122: return wsdlOverride;
123: }
124:
125: /**
126: * Sets the value of the wsdlOverride property.
127: *
128: * @param value
129: * allowed object is
130: * {@link String }
131: *
132: */
133: public void setWsdlOverride(String value) {
134: this.wsdlOverride = value;
135: }
136:
137: }
|