1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.module.purap.businessobject;
18
19 import org.kuali.ole.sys.context.SpringContext;
20 import org.kuali.rice.core.api.datetime.DateTimeService;
21 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23
24 import java.sql.Date;
25 import java.util.LinkedHashMap;
26
27
28
29
30 public class PurchaseOrderContractLanguage extends PersistableBusinessObjectBase implements MutableInactivatable {
31
32 private Integer purchaseOrderContractLanguageIdentifier;
33 private String campusCode;
34 private String purchaseOrderContractLanguageDescription;
35 private Date contractLanguageCreateDate;
36 private boolean active;
37
38
39
40
41 public PurchaseOrderContractLanguage() {
42 this.setContractLanguageCreateDate(SpringContext.getBean(DateTimeService.class).getCurrentSqlDate());
43 }
44
45 public Integer getPurchaseOrderContractLanguageIdentifier() {
46 return purchaseOrderContractLanguageIdentifier;
47 }
48
49 public void setPurchaseOrderContractLanguageIdentifier(Integer purchaseOrderContractLanguageIdentifier) {
50 this.purchaseOrderContractLanguageIdentifier = purchaseOrderContractLanguageIdentifier;
51 }
52
53 public String getCampusCode() {
54 return campusCode;
55 }
56
57 public void setCampusCode(String campusCode) {
58 this.campusCode = campusCode;
59 }
60
61 public String getPurchaseOrderContractLanguageDescription() {
62 return purchaseOrderContractLanguageDescription;
63 }
64
65 public void setPurchaseOrderContractLanguageDescription(String purchaseOrderContractLanguageDescription) {
66 this.purchaseOrderContractLanguageDescription = purchaseOrderContractLanguageDescription;
67 }
68
69 public Date getContractLanguageCreateDate() {
70 return contractLanguageCreateDate;
71 }
72
73 public void setContractLanguageCreateDate(Date contractLanguageCreateDate) {
74 this.contractLanguageCreateDate = contractLanguageCreateDate;
75 }
76
77 public boolean isActive() {
78 return active;
79 }
80
81 public void setActive(boolean active) {
82 this.active = active;
83 }
84
85
86
87
88 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
89 LinkedHashMap m = new LinkedHashMap();
90 if (this.purchaseOrderContractLanguageIdentifier != null) {
91 m.put("purchaseOrderContractLanguageIdentifier", this.purchaseOrderContractLanguageIdentifier.toString());
92 }
93 return m;
94 }
95
96 }