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={"serviceEndpointInterface","wsdlPort","stubProperty","callProperty","messageSecurityBinding"})
27: public class PortInfo {
28: @XmlElement(name="service-endpoint-interface")
29: protected String serviceEndpointInterface;
30: @XmlElement(name="wsdl-port")
31: protected WsdlPort wsdlPort;
32: @XmlElement(name="stub-property")
33: protected List<StubProperty> stubProperty;
34: @XmlElement(name="call-property")
35: protected List<CallProperty> callProperty;
36: @XmlElement(name="message-security-binding")
37: protected MessageSecurityBinding messageSecurityBinding;
38:
39: public String getServiceEndpointInterface() {
40: return serviceEndpointInterface;
41: }
42:
43: public void setServiceEndpointInterface(String value) {
44: this .serviceEndpointInterface = value;
45: }
46:
47: public WsdlPort getWsdlPort() {
48: return wsdlPort;
49: }
50:
51: public void setWsdlPort(WsdlPort value) {
52: this .wsdlPort = value;
53: }
54:
55: public List<StubProperty> getStubProperty() {
56: if (stubProperty == null) {
57: stubProperty = new ArrayList<StubProperty>();
58: }
59: return this .stubProperty;
60: }
61:
62: public List<CallProperty> getCallProperty() {
63: if (callProperty == null) {
64: callProperty = new ArrayList<CallProperty>();
65: }
66: return this .callProperty;
67: }
68:
69: public MessageSecurityBinding getMessageSecurityBinding() {
70: return messageSecurityBinding;
71: }
72:
73: public void setMessageSecurityBinding(MessageSecurityBinding value) {
74: this.messageSecurityBinding = value;
75: }
76: }
|