001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022: //
023: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
024: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
025: // Any modifications to this file will be lost upon recompilation of the source schema.
026: // Generated on: 2006.08.10 at 02:34:36 PM IST
027: //
028:
029: package com.sun.xml.ws.security.soap11;
030:
031: import javax.xml.bind.annotation.XmlAccessType;
032: import javax.xml.bind.annotation.XmlAccessorType;
033: import javax.xml.bind.annotation.XmlElement;
034: import javax.xml.bind.annotation.XmlType;
035: import javax.xml.namespace.QName;
036:
037: /**
038: *
039: * Fault reporting structure
040: *
041: *
042: * <p>Java class for Fault complex type.
043: *
044: * <p>The following schema fragment specifies the expected content contained within this class.
045: *
046: * <pre>
047: * <complexType name="Fault">
048: * <complexContent>
049: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
050: * <sequence>
051: * <element name="faultcode" type="{http://www.w3.org/2001/XMLSchema}QName"/>
052: * <element name="faultstring" type="{http://www.w3.org/2001/XMLSchema}string"/>
053: * <element name="faultactor" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
054: * <element name="detail" type="{http://schemas.xmlsoap.org/soap/envelope/}detail" minOccurs="0"/>
055: * </sequence>
056: * </restriction>
057: * </complexContent>
058: * </complexType>
059: * </pre>
060: *
061: *
062: */
063: @XmlAccessorType(XmlAccessType.FIELD)
064: @XmlType(name="Fault",propOrder={"faultcode","faultstring","faultactor","detail"})
065: public class Fault {
066:
067: @XmlElement(required=true)
068: protected QName faultcode;
069: @XmlElement(required=true)
070: protected String faultstring;
071: protected String faultactor;
072: protected Detail detail;
073:
074: /**
075: * Gets the value of the faultcode property.
076: *
077: * @return
078: * possible object is
079: * {@link QName }
080: *
081: */
082: public QName getFaultcode() {
083: return faultcode;
084: }
085:
086: /**
087: * Sets the value of the faultcode property.
088: *
089: * @param value
090: * allowed object is
091: * {@link QName }
092: *
093: */
094: public void setFaultcode(QName value) {
095: this .faultcode = value;
096: }
097:
098: /**
099: * Gets the value of the faultstring property.
100: *
101: * @return
102: * possible object is
103: * {@link String }
104: *
105: */
106: public String getFaultstring() {
107: return faultstring;
108: }
109:
110: /**
111: * Sets the value of the faultstring property.
112: *
113: * @param value
114: * allowed object is
115: * {@link String }
116: *
117: */
118: public void setFaultstring(String value) {
119: this .faultstring = value;
120: }
121:
122: /**
123: * Gets the value of the faultactor property.
124: *
125: * @return
126: * possible object is
127: * {@link String }
128: *
129: */
130: public String getFaultactor() {
131: return faultactor;
132: }
133:
134: /**
135: * Sets the value of the faultactor property.
136: *
137: * @param value
138: * allowed object is
139: * {@link String }
140: *
141: */
142: public void setFaultactor(String value) {
143: this .faultactor = value;
144: }
145:
146: /**
147: * Gets the value of the detail property.
148: *
149: * @return
150: * possible object is
151: * {@link Detail }
152: *
153: */
154: public Detail getDetail() {
155: return detail;
156: }
157:
158: /**
159: * Sets the value of the detail property.
160: *
161: * @param value
162: * allowed object is
163: * {@link Detail }
164: *
165: */
166: public void setDetail(Detail value) {
167: this.detail = value;
168: }
169:
170: }
|