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 * OleElectronicLocationAndAccessRelationship is business object class for Electronic Location And Access Relationship Maintenance Document
10 */
11 public class OleElectronicLocationAndAccessRelationship extends PersistableBusinessObjectBase {
12 private Integer elaRelationshipId;
13 private String elaRelationshipCode;
14 private String elaRelationshipName;
15 private String source;
16 private Date sourceDate;
17 private boolean active;
18
19 /**
20 * Gets the elaRelationshipId attribute.
21 *
22 * @return Returns the elaRelationshipId
23 */
24 public Integer getElaRelationshipId() {
25 return elaRelationshipId;
26 }
27
28 /**
29 * Sets the elaRelationshipId attribute value.
30 *
31 * @param elaRelationshipId The elaRelationshipId to set.
32 */
33 public void setElaRelationshipId(Integer elaRelationshipId) {
34 this.elaRelationshipId = elaRelationshipId;
35 }
36
37 /**
38 * Gets the elaRelationshipCode attribute.
39 *
40 * @return Returns the elaRelationshipCode
41 */
42 public String getElaRelationshipCode() {
43 return elaRelationshipCode;
44 }
45
46 /**
47 * Sets the elaRelationshipCode attribute value.
48 *
49 * @param elaRelationshipCode The elaRelationshipCode to set.
50 */
51 public void setElaRelationshipCode(String elaRelationshipCode) {
52 this.elaRelationshipCode = elaRelationshipCode;
53 }
54
55 /**
56 * Gets the elaRelationshipName attribute.
57 *
58 * @return Returns the elaRelationshipName
59 */
60 public String getElaRelationshipName() {
61 return elaRelationshipName;
62 }
63
64 /**
65 * Sets the elaRelationshipName attribute value.
66 *
67 * @param elaRelationshipName The elaRelationshipName to set.
68 */
69 public void setElaRelationshipName(String elaRelationshipName) {
70 this.elaRelationshipName = elaRelationshipName;
71 }
72
73 /**
74 * Gets the source attribute.
75 *
76 * @return Returns the source
77 */
78 public String getSource() {
79 return source;
80 }
81
82 /**
83 * Sets the source attribute value.
84 *
85 * @param source The source to set.
86 */
87 public void setSource(String source) {
88 this.source = source;
89 }
90
91 /**
92 * Gets the sourceDate attribute.
93 *
94 * @return Returns the sourceDate
95 */
96 public Date getSourceDate() {
97 return sourceDate;
98 }
99
100 /**
101 * Sets the sourceDate attribute value.
102 *
103 * @param sourceDate The sourceDate to set.
104 */
105 public void setSourceDate(Date sourceDate) {
106 this.sourceDate = sourceDate;
107 }
108
109 /**
110 * Gets the active attribute.
111 *
112 * @return Returns the active
113 */
114 public boolean isActive() {
115 return active;
116 }
117
118 /**
119 * Sets the active attribute value.
120 *
121 * @param active The active to set.
122 */
123 public void setActive(boolean active) {
124 this.active = active;
125 }
126
127 /**
128 * Gets the toStringMap attribute.
129 *
130 * @return Returns the toStringMap
131 */
132 protected LinkedHashMap toStringMapper() {
133 LinkedHashMap toStringMap = new LinkedHashMap();
134 toStringMap.put("elaRelationshipId", elaRelationshipId);
135 return toStringMap;
136 }
137 }