01: package net.sourceforge.jaxor.example.domain;
02:
03: /**
04: * Created By: Mike
05: * Date: Jan 15, 2004
06: * Time: 9:01:58 PM
07: *
08: * Last Checkin: $Author: mrettig $
09: * Date: $Date: 2004/01/31 17:48:48 $
10: * Revision: $Revision: 1.5 $
11: */
12: public class AddressImpl extends AddressBase {
13:
14: private final Logger _log;
15:
16: public AddressImpl() {
17: _log = null;
18: }
19:
20: public AddressImpl(Logger log) {
21: _log = log;
22: }
23:
24: public AddressImpl(Long id) {
25: setAddressId(id);
26: _log = null;
27: }
28:
29: public Logger getLog() {
30: return _log;
31: }
32:
33: /**
34: * Some dummy methods to test QDox interface generation
35: * @param params
36: * @return
37: */
38: public Integer[] testArrayMethod(Integer[] params, Long[] longArgs) {
39: return params;
40: }
41:
42: public int testIntMethod(int param) {
43: return param;
44: }
45: /**
46: * Currently, interface generation does not support inner classes.
47: * TODO fix this
48: public InnerPublicClass returnInner(){
49: return new InnerPublicClass();
50: }
51:
52: public static class InnerPublicClass{
53:
54: }
55: **/
56: }
|