View Javadoc
1   package com.randomnoun.common.db.to;
2   
3   
4   public class TriggerTO {
5   	private TableTO table; 
6   	
7   	private String name;
8   	private String eventManipulation; // INSERT/UPDATE/DELETE
9   	private long   actionOrder;          // always 0 
10  	//private String actionCondition;    // always null
11  	private String actionStatement;
12  	private String actionTiming; // BEFORE/AFTER
13  	private String sqlMode;
14  	private String definer;
15  	
16  	public TriggerTO(TableTO table, String name) {
17  		this.table = table;
18  		this.name = name;
19  	}
20  
21  	public TableTO getTable() {
22  		return table;
23  	}
24  
25  	public void setTable(TableTO table) {
26  		this.table = table;
27  	}
28  
29  	public String getName() {
30  		return name;
31  	}
32  
33  	public void setName(String name) {
34  		this.name = name;
35  	}
36  
37  	public String getEventManipulation() {
38  		return eventManipulation;
39  	}
40  
41  	public void setEventManipulation(String eventManipulation) {
42  		this.eventManipulation = eventManipulation;
43  	}
44  
45  	public long getActionOrder() {
46  		return actionOrder;
47  	}
48  
49  	public void setActionOrder(long actionOrder) {
50  		this.actionOrder = actionOrder;
51  	}
52  
53  	public String getActionStatement() {
54  		return actionStatement;
55  	}
56  
57  	public void setActionStatement(String actionStatement) {
58  		this.actionStatement = actionStatement;
59  	}
60  
61  	public String getActionTiming() {
62  		return actionTiming;
63  	}
64  
65  	public void setActionTiming(String actionTiming) {
66  		this.actionTiming = actionTiming;
67  	}
68  
69  	public String getSqlMode() {
70  		return sqlMode;
71  	}
72  
73  	public void setSqlMode(String sqlMode) {
74  		this.sqlMode = sqlMode;
75  	}
76  
77  	public String getDefiner() {
78  		return definer;
79  	}
80  
81  	public void setDefiner(String definer) {
82  		this.definer = definer;
83  	}
84  	
85  	
86  }