Debian Codegraph @

test/encoding/DerivatedBean.java

raw
1 /*
2 * Copyright 2002-2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package test.encoding;
18
19 import org.apache.axis.description.ElementDesc;
20
21 /**
22 * A type used for testing serialization of inherited elements
23 */
24 public class DerivatedBean extends SuperBean {
25
26 private String three;
27
28 private String four;
29
30 /**
31 * Returns the four.
32 * @return String
33 */
34 public String getFour() {
35 return four;
36 }
37
38 /**
39 * Returns the three.
40 * @return String
41 */
42 public String getThree() {
43 return three;
44 }
45
46 /**
47 * Sets the four.
48 * @param four The four to set
49 */
50 public void setFour(String four) {
51 this.four = four;
52 }
53
54 /**
55 * Sets the three.
56 * @param three The three to set
57 */
58 public void setThree(String three) {
59 this.three = three;
60 }
61
62 // Type metadata
63 private static org.apache.axis.description.TypeDesc typeDesc =
64 new org.apache.axis.description.TypeDesc(DerivatedBean.class);
65
66 static {
67 org.apache.axis.description.ElementDesc field = new org.apache.axis.description.ElementDesc();
68 field.setFieldName("three");
69 field.setXmlName(new javax.xml.namespace.QName("", "three"));
70 field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
71 field.setNillable(true);
72 typeDesc.addFieldDesc(field);
73 field = new org.apache.axis.description.ElementDesc();
74 field.setFieldName("four");
75 field.setXmlName(new javax.xml.namespace.QName("", "four"));
76 field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
77 field.setNillable(true);
78 typeDesc.addFieldDesc(field);
79 };
80
81 /**
82 * Return type metadata object
83 */
84 public static org.apache.axis.description.TypeDesc getTypeDesc() {
85 return typeDesc;
86 }
87
88
89 }