View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krms.dto;
17  
18  /**
19   * This class contains information required by the ui render components based on the
20   * linked rule statement (proposition) type.
21   *
22   * @author Kuali Student Team
23   */
24  public class TemplateInfo {
25  
26      /**
27       * Used to create/update the term.
28       */
29      private String termSpecName;
30  
31      /**
32       * Default operator value for specific rule statement type.
33       */
34      private String operator;
35  
36      /**
37       * Default constant value for specific rule statement type.
38       */
39      private String value;
40  
41      /**
42       * UI component (bean) id to be displayed in the ui.
43       */
44      private String componentId;
45  
46      @Deprecated
47      private String constantComponentId;
48  
49      /**
50       * Java class name responsible for resolving and building of term paramters for the specific rule
51       * statement(proposition) type.
52       */
53      private String componentBuilderClass;
54  
55      public String getTermSpecName() {
56          return termSpecName;
57      }
58  
59      public void setTermSpecName(String name) {
60          this.termSpecName = name;
61      }
62  
63      public String getOperator() {
64          return operator;
65      }
66  
67      public void setOperator(String operator) {
68          this.operator = operator;
69      }
70  
71      public String getValue() {
72          return value;
73      }
74  
75      public void setValue(String value) {
76          this.value = value;
77      }
78  
79      public String getComponentId() {
80          return componentId;
81      }
82  
83      public void setComponentId(String componentId) {
84          this.componentId = componentId;
85      }
86  
87      public String getConstantComponentId() {
88          return constantComponentId;
89      }
90  
91      public void setConstantComponentId(String constantComponentId) {
92          this.constantComponentId = constantComponentId;
93      }
94  
95      public String getComponentBuilderClass() {
96          return componentBuilderClass;
97      }
98  
99      public void setComponentBuilderClass(String componentBuilderClass) {
100         this.componentBuilderClass = componentBuilderClass;
101     }
102 }