src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MappingInfo.java

changeset 0
373ffda63c9a
child 637
9c07ef4934dd
equal deleted inserted replaced
-1:000000000000 0:373ffda63c9a
1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.xml.internal.ws.api.databinding;
27
28 import javax.xml.namespace.QName;
29
30 import com.sun.xml.internal.ws.api.BindingID;
31
32 /**
33 * A MappingInfo object is the collection of all the properties of the mapping
34 * between a JAVA contract class (SEI) and it's corresponding WSDL artifacts
35 * (wsdl:portType and wsdl:binding). A MappingInfo object can be used to provide
36 * additional mapping metadata for WSDL generation and the runtime of WebService
37 * databinding.
38 *
39 * @author shih-chang.chen@oracle.com
40 */
41 public class MappingInfo {
42 protected String targetNamespace;
43 protected String databindingMode;
44 protected SoapBodyStyle soapBodyStyle;
45 protected BindingID bindingID;
46 protected QName serviceName;
47 protected QName portName;
48 protected String defaultSchemaNamespaceSuffix;
49
50 public String getTargetNamespace() {
51 return targetNamespace;
52 }
53 public void setTargetNamespace(String targetNamespace) {
54 this.targetNamespace = targetNamespace;
55 }
56 public String getDatabindingMode() {
57 return databindingMode;
58 }
59 public void setDatabindingMode(String databindingMode) {
60 this.databindingMode = databindingMode;
61 }
62 public SoapBodyStyle getSoapBodyStyle() {
63 return soapBodyStyle;
64 }
65 public void setSoapBodyStyle(SoapBodyStyle soapBodyStyle) {
66 this.soapBodyStyle = soapBodyStyle;
67 }
68 public BindingID getBindingID() {
69 return bindingID;
70 }
71 public void setBindingID(BindingID bindingID) {
72 this.bindingID = bindingID;
73 }
74 public QName getServiceName() {
75 return serviceName;
76 }
77 public void setServiceName(QName serviceName) {
78 this.serviceName = serviceName;
79 }
80 public QName getPortName() {
81 return portName;
82 }
83 public void setPortName(QName portName) {
84 this.portName = portName;
85 }
86 public String getDefaultSchemaNamespaceSuffix() {
87 return defaultSchemaNamespaceSuffix;
88 }
89 public void setDefaultSchemaNamespaceSuffix(String defaultSchemaNamespaceSuffix) {
90 this.defaultSchemaNamespaceSuffix = defaultSchemaNamespaceSuffix;
91 }
92 }

mercurial