com.sun.xml.ws.security.soap12.Fault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-rt Show documentation
Show all versions of webservices-rt Show documentation
This module contains the Metro runtime code.
/*
* Copyright (c) 1997, 2018 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, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.08.10 at 02:34:36 PM IST
//
package com.sun.xml.ws.security.soap12;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Fault reporting structure
*
*
* Java class for Fault complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Fault">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Code" type="{http://www.w3.org/2003/05/soap-envelope}faultcode"/>
* <element name="Reason" type="{http://www.w3.org/2003/05/soap-envelope}faultreason"/>
* <element name="Node" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="Role" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="Detail" type="{http://www.w3.org/2003/05/soap-envelope}detail" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Fault", propOrder = {
"code",
"reason",
"node",
"role",
"detail"
})
public class Fault {
@XmlElement(name = "Code", required = true)
protected Faultcode code;
@XmlElement(name = "Reason", required = true)
protected Faultreason reason;
@XmlElement(name = "Node")
protected String node;
@XmlElement(name = "Role")
protected String role;
@XmlElement(name = "Detail")
protected Detail detail;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link Faultcode }
*
*/
public Faultcode getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link Faultcode }
*
*/
public void setCode(Faultcode value) {
this.code = value;
}
/**
* Gets the value of the reason property.
*
* @return
* possible object is
* {@link Faultreason }
*
*/
public Faultreason getReason() {
return reason;
}
/**
* Sets the value of the reason property.
*
* @param value
* allowed object is
* {@link Faultreason }
*
*/
public void setReason(Faultreason value) {
this.reason = value;
}
/**
* Gets the value of the node property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNode() {
return node;
}
/**
* Sets the value of the node property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNode(String value) {
this.node = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the detail property.
*
* @return
* possible object is
* {@link Detail }
*
*/
public Detail getDetail() {
return detail;
}
/**
* Sets the value of the detail property.
*
* @param value
* allowed object is
* {@link Detail }
*
*/
public void setDetail(Detail value) {
this.detail = value;
}
}