1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.tuigwaa.logic;
17
18 public class TgwLogic {
19
20 private String name;
21
22 private TgwEvent event;
23
24 private TgwFunction function;
25
26 public TgwLogic(){
27 }
28
29 public TgwLogic(String name, TgwEvent event, TgwFunction function){
30 this.name = name;
31 this.event = event;
32 this.function = function;
33 }
34
35 public void setName(String name) {
36 this.name = name;
37 }
38
39 public String getName() {
40 return name;
41 }
42
43 public void setEvent(TgwEvent event) {
44 this.event = event;
45 }
46
47 public TgwEvent getEvent() {
48 return event;
49 }
50
51 public void setFunction(TgwFunction function) {
52 this.function = function;
53 }
54
55 public TgwFunction getFunction() {
56 return function;
57 }
58 }