01: /* Copyright (C) 2005 Finalist IT Group
02: *
03: * This file is part of JAG - the Java J2EE Application Generator
04: *
05: * JAG is free software; you can redistribute it and/or modify
06: * it under the terms of the GNU General Public License as published by
07: * the Free Software Foundation; either version 2 of the License, or
08: * (at your option) any later version.
09: * JAG is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: * You should have received a copy of the GNU General Public License
14: * along with JAG; if not, write to the Free Software
15: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16: */
17:
18: package com.finalist.jaggenerator.modules;
19:
20: import java.util.Collection;
21:
22: /**
23: * Helper class for representing business arguments.
24: *
25: * @author Rudie Ekkelenkamp - Finalist IT Group
26: * @version $Revision: 1.1 $, $Date: 2004/12/22 11:23:01 $
27: */
28: public class BusinessArgument {
29: private String type;
30: private String name;
31:
32: /**
33: * the return type of the argument.
34: * @return
35: */
36: public String getType() {
37: return type;
38: }
39:
40: /**
41: * Set the type of the argument.
42: *
43: * @param type
44: */
45: public void setType(String type) {
46: this .type = type;
47: }
48:
49: /**
50: * get argument name.
51: * @return the name.
52: */
53: public String getName() {
54: return name;
55: }
56:
57: /**
58: * set the argument name.
59: *
60: * @param name
61: */
62: public void setName(String name) {
63: this.name = name;
64: }
65: }
|