01: /*
02: * The contents of this file are subject to the terms
03: * of the Common Development and Distribution License
04: * (the License). You may not use this file except in
05: * compliance with the License.
06: *
07: * You can obtain a copy of the license at
08: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
09: * See the License for the specific language governing
10: * permissions and limitations under the License.
11: *
12: * When distributing Covered Code, include this CDDL
13: * Header Notice in each file and include the License file
14: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
15: * If applicable, add the following below the CDDL Header,
16: * with the fields enclosed by brackets [] replaced by
17: * you own identifying information:
18: * "Portions Copyrighted [year] [name of copyright owner]"
19: *
20: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
21: */
22: //
23: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
24: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
25: // Any modifications to this file will be lost upon recompilation of the source schema.
26: // Generated on: 2006.08.10 at 02:34:36 PM IST
27: //
28:
29: package com.sun.xml.ws.security.soap12;
30:
31: import java.util.ArrayList;
32: import java.util.List;
33: import javax.xml.bind.annotation.XmlAccessType;
34: import javax.xml.bind.annotation.XmlAccessorType;
35: import javax.xml.bind.annotation.XmlElement;
36: import javax.xml.bind.annotation.XmlType;
37:
38: /**
39: * <p>Java class for faultreason complex type.
40: *
41: * <p>The following schema fragment specifies the expected content contained within this class.
42: *
43: * <pre>
44: * <complexType name="faultreason">
45: * <complexContent>
46: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47: * <sequence>
48: * <element name="Text" type="{http://www.w3.org/2003/05/soap-envelope}reasontext" maxOccurs="unbounded"/>
49: * </sequence>
50: * </restriction>
51: * </complexContent>
52: * </complexType>
53: * </pre>
54: *
55: *
56: */
57: @XmlAccessorType(XmlAccessType.FIELD)
58: @XmlType(name="faultreason",propOrder={"text"})
59: public class Faultreason {
60:
61: @XmlElement(name="Text",required=true)
62: protected List<Reasontext> text;
63:
64: /**
65: * Gets the value of the text property.
66: *
67: * <p>
68: * This accessor method returns a reference to the live list,
69: * not a snapshot. Therefore any modification you make to the
70: * returned list will be present inside the JAXB object.
71: * This is why there is not a <CODE>set</CODE> method for the text property.
72: *
73: * <p>
74: * For example, to add a new item, do as follows:
75: * <pre>
76: * getText().add(newItem);
77: * </pre>
78: *
79: *
80: * <p>
81: * Objects of the following type(s) are allowed in the list
82: * {@link Reasontext }
83: *
84: *
85: */
86: public List<Reasontext> getText() {
87: if (text == null) {
88: text = new ArrayList<Reasontext>();
89: }
90: return this.text;
91: }
92:
93: }
|