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    * OlePrivacy is business object class for Privacy Maintenance Document
10   */
11  public class OlePrivacy extends PersistableBusinessObjectBase {
12  
13      private String privacyId;
14      private String privacyCode;
15      private String privacyName;
16      private String source;
17      private Date sourceDate;
18      private boolean active;
19  
20      /**
21       * Gets the privacyId attribute.
22       *
23       * @return Returns the privacyId
24       */
25      public String getPrivacyId() {
26          return privacyId;
27      }
28  
29      /**
30       * Sets the privacyId attribute value.
31       *
32       * @param privacyId The privacyId to set.
33       */
34      public void setPrivacyId(String privacyId) {
35          this.privacyId = privacyId;
36      }
37  
38      /**
39       * Gets the privacyCode attribute.
40       *
41       * @return Returns the privacyCode
42       */
43      public String getPrivacyCode() {
44          return privacyCode;
45      }
46  
47      /**
48       * Sets the privacyCode attribute value.
49       *
50       * @param privacyCode The privacyCode to set.
51       */
52      public void setPrivacyCode(String privacyCode) {
53          this.privacyCode = privacyCode;
54      }
55  
56      /**
57       * Gets the privacyName attribute.
58       *
59       * @return Returns the privacyName
60       */
61      public String getPrivacyName() {
62          return privacyName;
63      }
64  
65      /**
66       * Sets the privacyName attribute value.
67       *
68       * @param privacyName The privacyName to set.
69       */
70      public void setPrivacyName(String privacyName) {
71          this.privacyName = privacyName;
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("privacyId", privacyId);
136         toStringMap.put("privacyCode", privacyCode);
137         toStringMap.put("privacyName", privacyName);
138         toStringMap.put("source", source);
139         toStringMap.put("sourceDate", sourceDate);
140         toStringMap.put("active", active);
141         return toStringMap;
142     }
143 
144 }
145 
146 
147 
148 
149 
150 
151 
152 
153 
154 
155