View Javadoc

1   /**
2    * Copyright 2012 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   *
15   */
16  package org.kuali.student.enrollment.class1.process.form;
17  
18  import org.kuali.rice.krad.web.form.UifFormBase;
19  import org.kuali.student.r2.core.process.dto.InstructionInfo;
20  import org.kuali.student.r2.core.process.dto.ProcessInfo;
21  
22  import java.util.List;
23  
24  /**
25   * This class provides a form for Process objects
26   *
27   * @author Kuali Student Team
28   */
29  public class ProcessInfoForm extends UifFormBase {
30  
31      private static final long serialVersionUID = 4898118410378641665L;
32  
33  
34      private String key;
35      private String name;
36      private String typeKey;
37      private String stateKey;
38      private String descr;
39      private String ownerOrgId;
40      private String orgName;
41      private String dialogStateKey;
42  
43      private boolean isSaveSuccess;
44      private boolean isInstructionActive;
45  
46      private List<ProcessInfo> processInfos;
47      private List<InstructionInfo> instructionInfoList;
48  
49      private ProcessInfo processInfo;
50  
51      public ProcessInfoForm() {
52          super();
53          processInfo = new ProcessInfo();
54  
55      }
56  
57      public List<ProcessInfo> getProcessInfos() {
58          return processInfos;
59      }
60  
61      public void setProcessInfos(List<ProcessInfo> processInfos) {
62          this.processInfos = processInfos;
63      }
64  
65      public String getKey() {
66          return key;
67      }
68  
69      public void setKey(String key) {
70          this.key = key;
71      }
72  
73      public String getName() {
74          return name;
75      }
76  
77      public void setName(String name) {
78          this.name = name;
79      }
80  
81      public String getTypeKey() {
82          return typeKey;
83      }
84  
85      public void setTypeKey(String typeKey) {
86          this.typeKey = typeKey;
87      }
88  
89      public String getStateKey() {
90          return stateKey;
91      }
92  
93      public void setStateKey(String stateKey) {
94          this.stateKey = stateKey;
95      }
96  
97      public String getDescr() {
98          return descr;
99      }
100 
101     public void setDescr(String descr) {
102         this.descr = descr;
103     }
104 
105     public String getOwnerOrgId() {
106         return ownerOrgId;
107     }
108 
109     public void setOwnerOrgId(String ownerOrgId) {
110         this.ownerOrgId = ownerOrgId;
111     }
112 
113     public ProcessInfo getProcessInfo() {
114         return processInfo;
115     }
116 
117     public void setProcessInfo(ProcessInfo processInfo) {
118         this.processInfo = processInfo;
119     }
120 
121     public String getOrgName() {
122         return orgName;
123     }
124 
125     public void setOrgName(String orgName) {
126         this.orgName = orgName;
127     }
128 
129     public boolean getIsSaveSuccess() {
130         return isSaveSuccess;
131     }
132 
133     public void setIsSaveSuccess(boolean saveSuccess) {
134         isSaveSuccess = saveSuccess;
135     }
136 
137     public boolean getIsInstructionActive() {
138         return isInstructionActive;
139     }
140 
141     public void setIsInstructionActive(boolean instructionActive) {
142         isInstructionActive = instructionActive;
143     }
144 
145     public List<InstructionInfo> getInstructionInfoList() {
146         return instructionInfoList;
147     }
148 
149     public void setInstructionInfoList(List<InstructionInfo> instructionInfoList) {
150         this.instructionInfoList = instructionInfoList;
151     }
152 
153     public String getDialogStateKey() {
154         return dialogStateKey;
155     }
156 
157     public void setDialogStateKey(String dialogStateKey) {
158         this.dialogStateKey = dialogStateKey;
159     }
160 }