1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.bo.role.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
|
20 | |
import org.apache.commons.lang.StringUtils; |
21 | |
import org.apache.commons.lang.builder.ToStringBuilder; |
22 | |
import org.kuali.rice.kim.bo.role.KimResponsibility; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | 0 | public class KimResponsibilityInfo extends ResponsibilityDetailsInfo implements KimResponsibility, Serializable { |
31 | |
|
32 | |
private static final long serialVersionUID = 7887896860986162310L; |
33 | |
protected String namespaceCode; |
34 | |
protected String name; |
35 | |
protected String description; |
36 | |
|
37 | |
protected boolean active; |
38 | |
|
39 | |
public String getName() { |
40 | 0 | return this.name; |
41 | |
} |
42 | |
public void setName(String name) { |
43 | 0 | this.name = name; |
44 | 0 | } |
45 | |
public String getDescription() { |
46 | 0 | return this.description; |
47 | |
} |
48 | |
public void setDescription(String description) { |
49 | 0 | this.description = description; |
50 | 0 | } |
51 | |
public boolean isActive() { |
52 | 0 | return this.active; |
53 | |
} |
54 | |
public void setActive(boolean active) { |
55 | 0 | this.active = active; |
56 | 0 | } |
57 | |
public String getNamespaceCode() { |
58 | 0 | return this.namespaceCode; |
59 | |
} |
60 | |
public void setNamespaceCode(String namespaceCode) { |
61 | 0 | this.namespaceCode = namespaceCode; |
62 | 0 | } |
63 | |
|
64 | |
|
65 | |
|
66 | |
public String toString() { |
67 | 0 | return new ToStringBuilder( this ) |
68 | |
.append( "responsibilityId", this.responsibilityId ) |
69 | |
.append( "namespaceCode", this.namespaceCode ) |
70 | |
.append( "details", this.details ) |
71 | |
.toString(); |
72 | |
} |
73 | |
|
74 | |
public boolean equals(Object object) { |
75 | 0 | if (!(object instanceof KimResponsibilityInfo)) { |
76 | 0 | return false; |
77 | |
} |
78 | 0 | return StringUtils.equals( responsibilityId, ((KimResponsibilityInfo)object).responsibilityId ); |
79 | |
} |
80 | |
|
81 | |
} |