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.sun;
17:
18: import javax.xml.bind.annotation.XmlAccessType;
19: import javax.xml.bind.annotation.XmlAccessorType;
20: import javax.xml.bind.annotation.XmlElement;
21: import javax.xml.bind.annotation.XmlType;
22: import java.util.ArrayList;
23: import java.util.List;
24:
25: @XmlAccessorType(XmlAccessType.FIELD)
26: @XmlType(name="",propOrder={"serviceRefName","portInfo","callProperty","wsdlOverride","serviceImplClass","serviceQname"})
27: public class ServiceRef {
28: @XmlElement(name="service-ref-name",required=true)
29: protected String serviceRefName;
30: @XmlElement(name="port-info")
31: protected List<PortInfo> portInfo;
32: @XmlElement(name="call-property")
33: protected List<CallProperty> callProperty;
34: @XmlElement(name="wsdl-override")
35: protected String wsdlOverride;
36: @XmlElement(name="service-impl-class")
37: protected String serviceImplClass;
38: @XmlElement(name="service-qname")
39: protected ServiceQname serviceQname;
40:
41: public String getServiceRefName() {
42: return serviceRefName;
43: }
44:
45: public void setServiceRefName(String value) {
46: this .serviceRefName = value;
47: }
48:
49: public List<PortInfo> getPortInfo() {
50: if (portInfo == null) {
51: portInfo = new ArrayList<PortInfo>();
52: }
53: return this .portInfo;
54: }
55:
56: public List<CallProperty> getCallProperty() {
57: if (callProperty == null) {
58: callProperty = new ArrayList<CallProperty>();
59: }
60: return this .callProperty;
61: }
62:
63: public String getWsdlOverride() {
64: return wsdlOverride;
65: }
66:
67: public void setWsdlOverride(String value) {
68: this .wsdlOverride = value;
69: }
70:
71: public String getServiceImplClass() {
72: return serviceImplClass;
73: }
74:
75: public void setServiceImplClass(String value) {
76: this .serviceImplClass = value;
77: }
78:
79: public ServiceQname getServiceQname() {
80: return serviceQname;
81: }
82:
83: public void setServiceQname(ServiceQname value) {
84: this.serviceQname = value;
85: }
86: }
|