| 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 |
package test.typedesc; |
| 17 |
|
| 18 |
import org.apache.axis.description.AttributeDesc; |
| 19 |
import org.apache.axis.description.FieldDesc; |
| 20 |
import org.apache.axis.description.TypeDesc; |
| 21 |
import org.apache.axis.encoding.SimpleType; |
| 22 |
|
| 23 |
import javax.xml.namespace.QName; |
| 24 |
|
| 25 |
public class ComplexBean3 extends SimpleBean2 implements java.io.Serializable { |
| 26 |
|
| 27 |
public String c; |
| 28 |
public String d; |
| 29 |
|
| 30 |
private static TypeDesc typeDesc = new TypeDesc(ComplexBean3.class); |
| 31 |
static { |
| 32 |
FieldDesc fd = new AttributeDesc(); |
| 33 |
fd.setFieldName("c"); |
| 34 |
fd.setXmlName(new QName("foo", "c")); |
| 35 |
typeDesc.addFieldDesc(fd); |
| 36 |
|
| 37 |
fd = new AttributeDesc(); |
| 38 |
fd.setFieldName("d"); |
| 39 |
fd.setXmlName(new QName("foo", "d")); |
| 40 |
typeDesc.addFieldDesc(fd); |
| 41 |
} |
| 42 |
public static TypeDesc getTypeDesc() { return typeDesc; } |
| 43 |
|
| 44 |
public ComplexBean3() {} |
| 45 |
|
| 46 |
public void setC(String value) { |
| 47 |
} |
| 48 |
|
| 49 |
public String getC() { |
| 50 |
return null; |
| 51 |
} |
| 52 |
|
| 53 |
public void setD(String value) { |
| 54 |
} |
| 55 |
|
| 56 |
public String getD() { |
| 57 |
return null; |
| 58 |
} |
| 59 |
|
| 60 |
} |