KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > servicemix > samples > wsdl_first > types > GetPersonResponse


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.servicemix.samples.wsdl_first.types;
18
19 import javax.xml.bind.annotation.XmlAccessType;
20 import javax.xml.bind.annotation.XmlAccessorType;
21 import javax.xml.bind.annotation.XmlElement;
22 import javax.xml.bind.annotation.XmlRootElement;
23 import javax.xml.bind.annotation.XmlType;
24
25
26 /**
27  * <p>Java class for anonymous complex type.
28  *
29  * <p>The following schema fragment specifies the expected content contained within this class.
30  *
31  * <pre>
32  * &lt;complexType>
33  * &lt;complexContent>
34  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35  * &lt;sequence>
36  * &lt;element name="personId" type="{http://www.w3.org/2001/XMLSchema}string"/>
37  * &lt;element name="ssn" type="{http://www.w3.org/2001/XMLSchema}string"/>
38  * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
39  * &lt;/sequence>
40  * &lt;/restriction>
41  * &lt;/complexContent>
42  * &lt;/complexType>
43  * </pre>
44  *
45  *
46  */

47 @XmlAccessorType(XmlAccessType.FIELD)
48 @XmlType(name = "", propOrder = {
49     "personId",
50     "ssn",
51     "name"
52 })
53 @XmlRootElement(name = "GetPersonResponse")
54 public class GetPersonResponse {
55
56     @XmlElement(required = true)
57     protected String JavaDoc personId;
58     @XmlElement(required = true)
59     protected String JavaDoc ssn;
60     @XmlElement(required = true)
61     protected String JavaDoc name;
62
63     /**
64      * Gets the value of the personId property.
65      *
66      * @return
67      * possible object is
68      * {@link String }
69      *
70      */

71     public String JavaDoc getPersonId() {
72         return personId;
73     }
74
75     /**
76      * Sets the value of the personId property.
77      *
78      * @param value
79      * allowed object is
80      * {@link String }
81      *
82      */

83     public void setPersonId(String JavaDoc value) {
84         this.personId = value;
85     }
86
87     /**
88      * Gets the value of the ssn property.
89      *
90      * @return
91      * possible object is
92      * {@link String }
93      *
94      */

95     public String JavaDoc getSsn() {
96         return ssn;
97     }
98
99     /**
100      * Sets the value of the ssn property.
101      *
102      * @param value
103      * allowed object is
104      * {@link String }
105      *
106      */

107     public void setSsn(String JavaDoc value) {
108         this.ssn = value;
109     }
110
111     /**
112      * Gets the value of the name property.
113      *
114      * @return
115      * possible object is
116      * {@link String }
117      *
118      */

119     public String JavaDoc getName() {
120         return name;
121     }
122
123     /**
124      * Sets the value of the name property.
125      *
126      * @param value
127      * allowed object is
128      * {@link String }
129      *
130      */

131     public void setName(String JavaDoc value) {
132         this.name = value;
133     }
134
135 }
136
Popular Tags