| 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.wsdl.extra; |
| 17 |
|
| 18 |
import java.util.Calendar; |
| 19 |
|
| 20 |
/** |
| 21 |
* Extra class which is provided to Java2WSDL but not referenced in the service |
| 22 |
* class. A complex type should be generated for the class in the WSDL |
| 23 |
*/ |
| 24 |
public class Extra { |
| 25 |
private String item1; |
| 26 |
private int item2; |
| 27 |
private Calendar stamp; |
| 28 |
|
| 29 |
public String getItem1() { |
| 30 |
return item1; |
| 31 |
} |
| 32 |
|
| 33 |
public void setItem1(String item1) { |
| 34 |
this.item1 = item1; |
| 35 |
} |
| 36 |
|
| 37 |
public int getItem2() { |
| 38 |
return item2; |
| 39 |
} |
| 40 |
|
| 41 |
public void setItem2(int item2) { |
| 42 |
this.item2 = item2; |
| 43 |
} |
| 44 |
|
| 45 |
public Calendar getStamp() { |
| 46 |
return stamp; |
| 47 |
} |
| 48 |
|
| 49 |
public void setStamp(Calendar stamp) { |
| 50 |
this.stamp = stamp; |
| 51 |
} |
| 52 |
} |