1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.tuigwaa.controller;
17
18 import org.apache.struts.validator.ValidatorForm;
19 import org.seasar.tuigwaa.model.core.TgwEntity;
20
21 /***
22 * テンプレートを作成するフォームに対応
23 *
24 * @author nishioka
25 */
26 public class DesignTemplateForm extends ValidatorForm {
27
28 private static final long serialVersionUID = -4872940247498398329L;
29
30 private String name;
31
32 private String template;
33
34 private String type;
35
36 private String tableName;
37
38 private TgwEntity entity;
39
40 public DesignTemplateForm() {
41 }
42
43 public DesignTemplateForm(String name, String type, String tableName, String content) {
44 this.name = name;
45 this.type = type;
46 this.tableName = tableName;
47 this.template = content;
48 }
49
50 public String getName() {
51 return name;
52 }
53
54 public void setName(String name) {
55 this.name = name;
56 }
57
58 public String getTemplate() {
59 return template;
60 }
61
62 public void setTemplate(String template) {
63 this.template = template;
64 }
65
66 public String getType() {
67 return type;
68 }
69
70 public void setType(String type) {
71 this.type = type;
72 }
73
74 public void setTableName(String tableName) {
75 this.tableName = tableName;
76 }
77
78 public String getTableName() {
79 return tableName;
80 }
81
82 public void setEntity(TgwEntity entity) {
83 this.entity = entity;
84 }
85
86 public TgwEntity getEntity() {
87 return entity;
88 }
89 }