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.soap12;
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:
036: /**
037: *
038: * Fault reporting structure
039: *
040: *
041: * <p>Java class for Fault complex type.
042: *
043: * <p>The following schema fragment specifies the expected content contained within this class.
044: *
045: * <pre>
046: * <complexType name="Fault">
047: * <complexContent>
048: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
049: * <sequence>
050: * <element name="Code" type="{http://www.w3.org/2003/05/soap-envelope}faultcode"/>
051: * <element name="Reason" type="{http://www.w3.org/2003/05/soap-envelope}faultreason"/>
052: * <element name="Node" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
053: * <element name="Role" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
054: * <element name="Detail" type="{http://www.w3.org/2003/05/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={"code","reason","node","role","detail"})
065: public class Fault {
066:
067: @XmlElement(name="Code",required=true)
068: protected Faultcode code;
069: @XmlElement(name="Reason",required=true)
070: protected Faultreason reason;
071: @XmlElement(name="Node")
072: protected String node;
073: @XmlElement(name="Role")
074: protected String role;
075: @XmlElement(name="Detail")
076: protected Detail detail;
077:
078: /**
079: * Gets the value of the code property.
080: *
081: * @return
082: * possible object is
083: * {@link Faultcode }
084: *
085: */
086: public Faultcode getCode() {
087: return code;
088: }
089:
090: /**
091: * Sets the value of the code property.
092: *
093: * @param value
094: * allowed object is
095: * {@link Faultcode }
096: *
097: */
098: public void setCode(Faultcode value) {
099: this .code = value;
100: }
101:
102: /**
103: * Gets the value of the reason property.
104: *
105: * @return
106: * possible object is
107: * {@link Faultreason }
108: *
109: */
110: public Faultreason getReason() {
111: return reason;
112: }
113:
114: /**
115: * Sets the value of the reason property.
116: *
117: * @param value
118: * allowed object is
119: * {@link Faultreason }
120: *
121: */
122: public void setReason(Faultreason value) {
123: this .reason = value;
124: }
125:
126: /**
127: * Gets the value of the node property.
128: *
129: * @return
130: * possible object is
131: * {@link String }
132: *
133: */
134: public String getNode() {
135: return node;
136: }
137:
138: /**
139: * Sets the value of the node property.
140: *
141: * @param value
142: * allowed object is
143: * {@link String }
144: *
145: */
146: public void setNode(String value) {
147: this .node = value;
148: }
149:
150: /**
151: * Gets the value of the role property.
152: *
153: * @return
154: * possible object is
155: * {@link String }
156: *
157: */
158: public String getRole() {
159: return role;
160: }
161:
162: /**
163: * Sets the value of the role property.
164: *
165: * @param value
166: * allowed object is
167: * {@link String }
168: *
169: */
170: public void setRole(String value) {
171: this .role = value;
172: }
173:
174: /**
175: * Gets the value of the detail property.
176: *
177: * @return
178: * possible object is
179: * {@link Detail }
180: *
181: */
182: public Detail getDetail() {
183: return detail;
184: }
185:
186: /**
187: * Sets the value of the detail property.
188: *
189: * @param value
190: * allowed object is
191: * {@link Detail }
192: *
193: */
194: public void setDetail(Detail value) {
195: this.detail = value;
196: }
197:
198: }
|