com.sun.xml.ws.config.metro.parser.jsr109.AddressingType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-osgi Show documentation
Show all versions of webservices-osgi Show documentation
Metro Web Services Runtime OSGi Bundle
/*
* Copyright (c) 2010, 2021 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
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-28
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.08.18 at 11:59:48 AM EEST
//
package com.sun.xml.ws.config.metro.parser.jsr109;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlTransient;
import jakarta.xml.bind.annotation.XmlType;
import org.glassfish.jaxb.core.Locatable;
import org.glassfish.jaxb.core.annotation.XmlLocation;
import org.xml.sax.Locator;
/**
*
*
* This specifies the WS-Addressing requirements for a JAX-WS web service.
* It corresponds to jakarta.xml.ws.soap.Addressing annotation or its
* feature jakarta.xml.ws.soap.AddressingFeature.
*
* If the "enabled" element is "true", WS-Addressing is enabled.
* It means that the endpoint supports WS-Addressing but does not require
* its use. The default value for "enabled" is "true".
*
* If the WS-Addressing is enabled and the "required" element is "true",
* it means that the endpoint requires WS-Addressing. The default value
* for "required" is "false".
*
* If WS-Addressing is enabled, the "responses" element determines
* if an endpoint requires the use of only anonymous responses,
* or only non-anonymous responses, or all. The value of the "responses"
* element must be one of the following:
*
* ANONYMOUS
* NON_ANONYMOUS
* ALL
*
* The default value for the "responses" is ALL.
*
*
*
* Java class for addressingType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "addressingType", propOrder = {
"enabled",
"required",
"responses"
})
public class AddressingType
implements Locatable
{
protected TrueFalseType enabled;
protected TrueFalseType required;
protected AddressingResponsesType responses;
@XmlLocation
@XmlTransient
protected Locator locator;
/**
* Gets the value of the enabled property.
*
* @return
* possible object is
* {@link TrueFalseType }
*
*/
public TrueFalseType getEnabled() {
return enabled;
}
/**
* Sets the value of the enabled property.
*
* @param value
* allowed object is
* {@link TrueFalseType }
*
*/
public void setEnabled(TrueFalseType value) {
this.enabled = value;
}
/**
* Gets the value of the required property.
*
* @return
* possible object is
* {@link TrueFalseType }
*
*/
public TrueFalseType getRequired() {
return required;
}
/**
* Sets the value of the required property.
*
* @param value
* allowed object is
* {@link TrueFalseType }
*
*/
public void setRequired(TrueFalseType value) {
this.required = value;
}
/**
* Gets the value of the responses property.
*
* @return
* possible object is
* {@link AddressingResponsesType }
*
*/
public AddressingResponsesType getResponses() {
return responses;
}
/**
* Sets the value of the responses property.
*
* @param value
* allowed object is
* {@link AddressingResponsesType }
*
*/
public void setResponses(AddressingResponsesType value) {
this.responses = value;
}
public Locator sourceLocation() {
return locator;
}
public void setSourceLocation(Locator newLocator) {
locator = newLocator;
}
}