View Javadoc

1   package org.kuali.ole.catalog.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       * @return  Returns the generalRetentionPolicyId
23       */
24      public Integer getGeneralRetentionPolicyId() {
25          return generalRetentionPolicyId;
26      }
27  
28      /**
29       * Sets the generalRetentionPolicyId attribute value.
30       * @param generalRetentionPolicyId The generalRetentionPolicyId to set.
31       */
32      public void setGeneralRetentionPolicyId(Integer generalRetentionPolicyId) {
33          this.generalRetentionPolicyId = generalRetentionPolicyId;
34      }
35  
36      /**
37       *  Gets the generalRetentionPolicyCode attribute.
38       * @return  Returns the generalRetentionPolicyCode
39       */
40      public String getGeneralRetentionPolicyCode() {
41          return generalRetentionPolicyCode;
42      }
43  
44      /**
45       * Sets the generalRetentionPolicyCode attribute value.
46       * @param generalRetentionPolicyCode The generalRetentionPolicyCode to set.
47       */
48      public void setGeneralRetentionPolicyCode(String generalRetentionPolicyCode) {
49          this.generalRetentionPolicyCode = generalRetentionPolicyCode;
50      }
51  
52      /**
53       *  Gets the generalRetentionPolicyName attribute.
54       * @return  Returns the generalRetentionPolicyName
55       */
56      public String getGeneralRetentionPolicyName() {
57          return generalRetentionPolicyName;
58      }
59  
60      /**
61       * Sets the generalRetentionPolicyName attribute value.
62       * @param generalRetentionPolicyName The generalRetentionPolicyName to set.
63       */
64      public void setGeneralRetentionPolicyName(String generalRetentionPolicyName) {
65          this.generalRetentionPolicyName = generalRetentionPolicyName;
66      }
67  
68      /**
69       *  Gets the source attribute.
70       * @return  Returns the source
71       */
72      public String getSource() {
73          return source;
74      }
75  
76      /**
77       * Sets the source attribute value.
78       * @param source The source to set.
79       */
80      public void setSource(String source) {
81          this.source = source;
82      }
83  
84      /**
85       *  Gets the sourceDate attribute.
86       * @return  Returns the sourceDate
87       */
88      public Date getSourceDate() {
89          return sourceDate;
90      }
91  
92      /**
93       * Sets the sourceDate attribute value.
94       * @param sourceDate The sourceDate to set.
95       */
96      public void setSourceDate(Date sourceDate) {
97          this.sourceDate = sourceDate;
98      }
99  
100     /**
101      *  Gets the active attribute.
102      * @return  Returns the active
103      */
104     public boolean isActive() {
105         return active;
106     }
107 
108     /**
109      * Sets the active attribute value.
110      * @param active The active to set.
111      */
112     public void setActive(boolean active) {
113         this.active = active;
114     }
115 
116     /**
117      *  Gets the toStringMap attribute.
118      * @return  Returns the toStringMap
119      */
120      protected LinkedHashMap toStringMapper() {
121         LinkedHashMap toStringMap = new LinkedHashMap();
122         toStringMap.put("generalRetentionPolicyId", generalRetentionPolicyId);
123         return toStringMap;
124     }
125 }