01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.kuali.workflow.workgroup.web;
18:
19: import org.apache.struts.action.ActionForm;
20: import org.kuali.workflow.workgroup.WorkgroupType;
21:
22: /**
23: * A Struts ActionForm for the {@link WorkgroupTypeAction}.
24: *
25: * @author ewestfal
26: */
27: public class WorkgroupTypeForm extends ActionForm {
28:
29: private static final long serialVersionUID = 2042175205384573992L;
30:
31: private WorkgroupType workgroupType;
32: private Long workgroupTypeId;
33: private String name = "";
34: private String methodToCall = "";
35:
36: public String getName() {
37: return name;
38: }
39:
40: public void setName(String name) {
41: this .name = name;
42: }
43:
44: public WorkgroupType getWorkgroupType() {
45: return workgroupType;
46: }
47:
48: public void setWorkgroupType(WorkgroupType workgroupType) {
49: this .workgroupType = workgroupType;
50: }
51:
52: public Long getWorkgroupTypeId() {
53: return workgroupTypeId;
54: }
55:
56: public void setWorkgroupTypeId(Long workgroupTypeId) {
57: this .workgroupTypeId = workgroupTypeId;
58: }
59:
60: public String getMethodToCall() {
61: return methodToCall;
62: }
63:
64: public void setMethodToCall(String methodToCall) {
65: this.methodToCall = methodToCall;
66: }
67:
68: }
|