View Javadoc

1   package org.kuali.ole.batch.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   /**
6    * Created with IntelliJ IDEA.
7    * User: adityas
8    * Date: 7/6/13
9    * Time: 4:38 PM
10   * To change this template use File | Settings | File Templates.
11   */
12  public class OLEBatchProcessProfileConstantsBo extends PersistableBusinessObjectBase {
13  
14      private String oleBatchProcessProfileConstantsId;
15      private String attributeName;
16      private String dataType;
17      private String attributeNameText;
18      private String attributeValue;
19  
20      /*public boolean isDefaultValue() {
21          return defaultValue;
22      }
23  
24      public void setDefaultValue(boolean defaultValue) {
25          this.defaultValue = defaultValue;
26      }
27  
28      private boolean defaultValue;*/
29      private String defaultValue;
30      private String batchProcessProfileId;
31      private OLEBatchProcessProfileBo oleBatchProcessProfileBo;
32  
33      public String getOleBatchProcessProfileConstantsId() {
34          return oleBatchProcessProfileConstantsId;
35      }
36  
37      public void setOleBatchProcessProfileConstantsId(String oleBatchProcessProfileConstantsId) {
38          this.oleBatchProcessProfileConstantsId = oleBatchProcessProfileConstantsId;
39      }
40  
41      public String getBatchProcessProfileId() {
42          return batchProcessProfileId;
43      }
44  
45      public void setBatchProcessProfileId(String batchProcessProfileId) {
46          this.batchProcessProfileId = batchProcessProfileId;
47      }
48  
49      public OLEBatchProcessProfileBo getOleBatchProcessProfileBo() {
50          return oleBatchProcessProfileBo;
51      }
52  
53      public void setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo) {
54          this.oleBatchProcessProfileBo = oleBatchProcessProfileBo;
55      }
56  
57      public String getAttributeName() {
58          if(attributeName==null || attributeName.isEmpty())
59          {
60              if(attributeNameText!=null && !attributeNameText.isEmpty()){
61                  return attributeNameText;
62              }
63          }
64          return attributeName;
65      }
66  
67      public void setAttributeName(String attributeName) {
68          this.attributeName = attributeName;
69      }
70  
71      public String getAttributeValue() {
72          return attributeValue;
73      }
74  
75      public void setAttributeValue(String attributeValue) {
76          this.attributeValue = attributeValue;
77      }
78  
79      public String getAttributeNameText() {
80          return attributeNameText;
81      }
82  
83      public void setAttributeNameText(String attributeNameText) {
84          this.attributeNameText = attributeNameText;
85  
86          if(attributeName==null || attributeName.isEmpty())
87          {
88              if(attributeNameText!=null && !attributeNameText.isEmpty()){
89                  this.attributeName= attributeNameText;
90              }
91          }
92  
93      }
94  
95      public String getDataType() {
96          return dataType;
97      }
98  
99      public void setDataType(String dataType) {
100         this.dataType = dataType;
101     }
102 
103     public String getDefaultValue() {
104         return defaultValue;
105     }
106 
107     public void setDefaultValue(String defaultValue) {
108         this.defaultValue = defaultValue;
109     }
110 }