01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.openejb.core.webservices;
18:
19: import javax.xml.namespace.QName;
20: import java.util.ArrayList;
21: import java.util.List;
22: import java.util.Properties;
23:
24: public class PortRefData {
25: private QName qname;
26: private String serviceEndpointInterface;
27: private boolean enableMtom;
28: private final Properties properties = new Properties();
29: private final List<String> addresses = new ArrayList<String>(1);
30:
31: public PortRefData() {
32: }
33:
34: public PortRefData(PortRefData src) {
35: qname = src.qname;
36: serviceEndpointInterface = src.serviceEndpointInterface;
37: enableMtom = src.enableMtom;
38: properties.putAll(src.properties);
39: addresses.addAll(src.addresses);
40: }
41:
42: public QName getQName() {
43: return qname;
44: }
45:
46: public void setQName(QName qname) {
47: this .qname = qname;
48: }
49:
50: public String getServiceEndpointInterface() {
51: return serviceEndpointInterface;
52: }
53:
54: public void setServiceEndpointInterface(
55: String serviceEndpointInterface) {
56: this .serviceEndpointInterface = serviceEndpointInterface;
57: }
58:
59: public boolean isEnableMtom() {
60: return enableMtom;
61: }
62:
63: public void setEnableMtom(boolean value) {
64: this .enableMtom = value;
65: }
66:
67: public Properties getProperties() {
68: return properties;
69: }
70:
71: public List<String> getAddresses() {
72: return addresses;
73: }
74: }
|