All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.api.databinding.MappingInfo Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.api.databinding;

import javax.xml.namespace.QName;

import com.sun.xml.ws.api.BindingID;

/**
 * A MappingInfo object is the collection of all the properties of the mapping
 * between a JAVA contract class (SEI) and it's corresponding WSDL artifacts
 * (wsdl:portType and wsdl:binding). A MappingInfo object can be used to provide
 * additional mapping metadata for WSDL generation and the runtime of WebService
 * databinding.
 * 
 * @author [email protected]
 */
public class MappingInfo {
	protected String targetNamespace;
	protected String databindingMode;
	protected SoapBodyStyle soapBodyStyle;
	protected BindingID bindingID;
	protected QName serviceName;
	protected QName portName;
	protected String defaultSchemaNamespaceSuffix;

	/**
	 * Default constructor.
	 */
	public MappingInfo() {}

    public String getTargetNamespace() {
		return targetNamespace;
	}
	public void setTargetNamespace(String targetNamespace) {
		this.targetNamespace = targetNamespace;
	}
	public String getDatabindingMode() {
		return databindingMode;
	}
	public void setDatabindingMode(String databindingMode) {
		this.databindingMode = databindingMode;
	}
	public SoapBodyStyle getSoapBodyStyle() {
		return soapBodyStyle;
	}
	public void setSoapBodyStyle(SoapBodyStyle soapBodyStyle) {
		this.soapBodyStyle = soapBodyStyle;
	}
	public BindingID getBindingID() {
		return bindingID;
	}
	public void setBindingID(BindingID bindingID) {
		this.bindingID = bindingID;
	}
	public QName getServiceName() {
		return serviceName;
	}
	public void setServiceName(QName serviceName) {
		this.serviceName = serviceName;
	}
	public QName getPortName() {
		return portName;
	}
	public void setPortName(QName portName) {
		this.portName = portName;
	}    
    public String getDefaultSchemaNamespaceSuffix() {
        return defaultSchemaNamespaceSuffix;
    }
    public void setDefaultSchemaNamespaceSuffix(String defaultSchemaNamespaceSuffix) {
        this.defaultSchemaNamespaceSuffix = defaultSchemaNamespaceSuffix;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy