001/** 002 * Copyright 2005-2013 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krms.dto; 017 018/** 019 * This class contains information required by the ui render components based on the 020 * linked rule statement (proposition) type. 021 * 022 * @author Kuali Student Team 023 */ 024public class TemplateInfo { 025 026 /** 027 * Used to create/update the term. 028 */ 029 private String termSpecName; 030 031 /** 032 * Default operator value for specific rule statement type. 033 */ 034 private String operator; 035 036 /** 037 * Default constant value for specific rule statement type. 038 */ 039 private String value; 040 041 /** 042 * UI component (bean) id to be displayed in the ui. 043 */ 044 private String componentId; 045 046 @Deprecated 047 private String constantComponentId; 048 049 /** 050 * Java class name responsible for resolving and building of term paramters for the specific rule 051 * statement(proposition) type. 052 */ 053 private String componentBuilderClass; 054 055 public String getTermSpecName() { 056 return termSpecName; 057 } 058 059 public void setTermSpecName(String name) { 060 this.termSpecName = name; 061 } 062 063 public String getOperator() { 064 return operator; 065 } 066 067 public void setOperator(String operator) { 068 this.operator = operator; 069 } 070 071 public String getValue() { 072 return value; 073 } 074 075 public void setValue(String value) { 076 this.value = value; 077 } 078 079 public String getComponentId() { 080 return componentId; 081 } 082 083 public void setComponentId(String componentId) { 084 this.componentId = componentId; 085 } 086 087 public String getConstantComponentId() { 088 return constantComponentId; 089 } 090 091 public void setConstantComponentId(String constantComponentId) { 092 this.constantComponentId = constantComponentId; 093 } 094 095 public String getComponentBuilderClass() { 096 return componentBuilderClass; 097 } 098 099 public void setComponentBuilderClass(String componentBuilderClass) { 100 this.componentBuilderClass = componentBuilderClass; 101 } 102}