View Javadoc
1   package org.kuali.ole.describe.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   
5   import java.sql.Date;
6   import java.util.LinkedHashMap;
7   
8   /**
9    * OleGeneralRetentionPolicy is business object class for General Retention Policy Maintenance Document
10   */
11  public class OleGeneralRetentionPolicy extends PersistableBusinessObjectBase {
12  
13      private Integer generalRetentionPolicyId;
14      private String generalRetentionPolicyCode;
15      private String generalRetentionPolicyName;
16      private String source;
17      private Date sourceDate;
18      private boolean active;
19  
20      /**
21       * Gets the generalRetentionPolicyId attribute.
22       *
23       * @return Returns the generalRetentionPolicyId
24       */
25      public Integer getGeneralRetentionPolicyId() {
26          return generalRetentionPolicyId;
27      }
28  
29      /**
30       * Sets the generalRetentionPolicyId attribute value.
31       *
32       * @param generalRetentionPolicyId The generalRetentionPolicyId to set.
33       */
34      public void setGeneralRetentionPolicyId(Integer generalRetentionPolicyId) {
35          this.generalRetentionPolicyId = generalRetentionPolicyId;
36      }
37  
38      /**
39       * Gets the generalRetentionPolicyCode attribute.
40       *
41       * @return Returns the generalRetentionPolicyCode
42       */
43      public String getGeneralRetentionPolicyCode() {
44          return generalRetentionPolicyCode;
45      }
46  
47      /**
48       * Sets the generalRetentionPolicyCode attribute value.
49       *
50       * @param generalRetentionPolicyCode The generalRetentionPolicyCode to set.
51       */
52      public void setGeneralRetentionPolicyCode(String generalRetentionPolicyCode) {
53          this.generalRetentionPolicyCode = generalRetentionPolicyCode;
54      }
55  
56      /**
57       * Gets the generalRetentionPolicyName attribute.
58       *
59       * @return Returns the generalRetentionPolicyName
60       */
61      public String getGeneralRetentionPolicyName() {
62          return generalRetentionPolicyName;
63      }
64  
65      /**
66       * Sets the generalRetentionPolicyName attribute value.
67       *
68       * @param generalRetentionPolicyName The generalRetentionPolicyName to set.
69       */
70      public void setGeneralRetentionPolicyName(String generalRetentionPolicyName) {
71          this.generalRetentionPolicyName = generalRetentionPolicyName;
72      }
73  
74      /**
75       * Gets the source attribute.
76       *
77       * @return Returns the source
78       */
79      public String getSource() {
80          return source;
81      }
82  
83      /**
84       * Sets the source attribute value.
85       *
86       * @param source The source to set.
87       */
88      public void setSource(String source) {
89          this.source = source;
90      }
91  
92      /**
93       * Gets the sourceDate attribute.
94       *
95       * @return Returns the sourceDate
96       */
97      public Date getSourceDate() {
98          return sourceDate;
99      }
100 
101     /**
102      * Sets the sourceDate attribute value.
103      *
104      * @param sourceDate The sourceDate to set.
105      */
106     public void setSourceDate(Date sourceDate) {
107         this.sourceDate = sourceDate;
108     }
109 
110     /**
111      * Gets the active attribute.
112      *
113      * @return Returns the active
114      */
115     public boolean isActive() {
116         return active;
117     }
118 
119     /**
120      * Sets the active attribute value.
121      *
122      * @param active The active to set.
123      */
124     public void setActive(boolean active) {
125         this.active = active;
126     }
127 
128     /**
129      * Gets the toStringMap attribute.
130      *
131      * @return Returns the toStringMap
132      */
133     protected LinkedHashMap toStringMapper() {
134         LinkedHashMap toStringMap = new LinkedHashMap();
135         toStringMap.put("generalRetentionPolicyId", generalRetentionPolicyId);
136         return toStringMap;
137     }
138 }