View Javadoc
1   package org.kuali.ole.batch.bo;
2   
3   import org.kuali.rice.krad.bo.DataObjectBase;
4   import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
5   import org.kuali.rice.krad.data.jpa.converters.BooleanYNConverter;
6   
7   import javax.persistence.*;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: adityas
12   * Date: 7/10/13
13   * Time: 3:43 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  @Entity
17  @Table(name = "OLE_BAT_GLBLY_PRCT_FLD_T")
18  public class OLEBatchGloballyProtectedField extends DataObjectBase {
19  
20      @PortableSequenceGenerator(name = "OLE_BAT_GLBLY_PRCT_FLD_S")
21      @GeneratedValue(generator = "OLE_BAT_GLBLY_PRCT_FLD_S")
22      @Id
23      @Column(name = "GLBY_PRCT_FLD_ID")
24      private String id;
25  
26      @Column(name = "BAT_GLBY_PRCT_FLD_ID")
27      private String globallyProtectedFieldId;
28  
29      @Column(name = "BAT_GLBY_PRCT_FLD_TAG")
30      private String tag;
31  
32      @Column(name = "BAT_GLBY_PRCT_FLD_IND1")
33      private String firstIndicator;
34  
35      @Column(name = "BAT_GLBY_PRCT_FLD_IND2")
36      private String secondIndicator;
37  
38      @Column(name = "BAT_GLBY_PRCT_FLD_SUBFLD")
39      private String subField;
40  
41      @Column(name = "BAT_GLBY_PRCT_FLD_IGN_VAL")
42      @Convert(converter = BooleanYNConverter.class)
43      private boolean ignoreValue;
44  
45  
46  
47  
48      @ManyToOne(fetch=FetchType.EAGER)
49      @JoinColumn(name = "BAT_PRCS_PRF_ID", referencedColumnName = "BAT_PRCS_PRF_ID",nullable=false)
50      private OLEBatchProcessProfileBo oleBatchProcessProfileBo;
51  
52  
53      public OLEBatchProcessProfileBo getOleBatchProcessProfileBo() {
54          return oleBatchProcessProfileBo;
55      }
56  
57      public void setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo) {
58          this.oleBatchProcessProfileBo = oleBatchProcessProfileBo;
59      }
60  
61      public String getGloballyProtectedFieldId() {
62          return globallyProtectedFieldId;
63      }
64  
65      public void setGloballyProtectedFieldId(String globallyProtectedFieldId) {
66          this.globallyProtectedFieldId = globallyProtectedFieldId;
67      }
68  
69      public String getTag() {
70          return tag;
71      }
72  
73      public void setTag(String tag) {
74          this.tag = tag;
75      }
76  
77      public String getFirstIndicator() {
78          return firstIndicator;
79      }
80  
81      public void setFirstIndicator(String firstIndicator) {
82          this.firstIndicator = firstIndicator;
83      }
84  
85      public String getSecondIndicator() {
86          return secondIndicator;
87      }
88  
89      public String getId() {
90          return id;
91      }
92  
93      public void setId(String id) {
94          this.id = id;
95      }
96  
97      public void setSecondIndicator(String secondIndicator) {
98          this.secondIndicator = secondIndicator;
99      }
100 
101     public String getSubField() {
102         return subField;
103     }
104 
105     public void setSubField(String subField) {
106         this.subField = subField;
107     }
108 
109     public boolean isIgnoreValue() {
110         return ignoreValue;
111     }
112 
113     public void setIgnoreValue(boolean ignoreValue) {
114         this.ignoreValue = ignoreValue;
115     }
116 }