View Javadoc
1   /*
2    * Copyright 2008 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.module.purap.businessobject;
17  
18  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
19  
20  import java.util.LinkedHashMap;
21  
22  public class PurchaseOrderSensitiveData extends PersistableBusinessObjectBase {
23  
24      private Integer purapDocumentIdentifier;
25      private Integer requisitionIdentifier;
26      private String sensitiveDataCode;
27  
28      private SensitiveData sensitiveData;
29  
30      public PurchaseOrderSensitiveData() {
31          super();
32      }
33  
34      public PurchaseOrderSensitiveData(Integer poId, Integer reqId, String newSensitiveDataCode) {
35          super();
36          purapDocumentIdentifier = poId;
37          requisitionIdentifier = reqId;
38          sensitiveDataCode = newSensitiveDataCode;
39      }
40  
41  
42      public Integer getPurapDocumentIdentifier() {
43          return purapDocumentIdentifier;
44      }
45  
46      public void setPurapDocumentIdentifier(Integer purapDocumentIdentifier) {
47          this.purapDocumentIdentifier = purapDocumentIdentifier;
48      }
49  
50      public Integer getRequisitionIdentifier() {
51          return requisitionIdentifier;
52      }
53  
54      public void setRequisitionIdentifier(Integer requisitionIdentifier) {
55          this.requisitionIdentifier = requisitionIdentifier;
56      }
57  
58      public String getSensitiveDataCode() {
59          return sensitiveDataCode;
60      }
61  
62      public void setSensitiveDataCode(String sensitiveDataCode) {
63          this.sensitiveDataCode = sensitiveDataCode;
64      }
65  
66      public SensitiveData getSensitiveData() {
67          return sensitiveData;
68      }
69  
70      public void setSensitiveData(SensitiveData sensitiveData) {
71          this.sensitiveData = sensitiveData;
72      }
73  
74      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
75          LinkedHashMap m = new LinkedHashMap();
76          m.put("purapDocumentIdentifier", this.purapDocumentIdentifier);
77          return m;
78      }
79  
80  }