1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.kuali.ole.pojo.dublin;
22
23
24
25
26
27
28
29 public class DCValue {
30 private String element = null;
31 private String qualifier = null;
32 private String value = null;
33
34 public DCValue() {
35 }
36
37 public DCValue(String element) {
38 this.element = element;
39 }
40
41 public String getElement() {
42 return element;
43 }
44
45 public void setElement(String element) {
46 this.element = element;
47 }
48
49 public String getQualifier() {
50 return qualifier;
51 }
52
53 public void setQualifier(String qualifier) {
54 this.qualifier = qualifier;
55 }
56
57 public String getValue() {
58 return value;
59 }
60
61 public void setValue(String value) {
62 this.value = value;
63 }
64
65 @Override
66 public String toString() {
67 return "element=" + element + ", qualifier=" + qualifier + ", value=" + value;
68 }
69
70 @Override
71 public boolean equals(Object obj) {
72 if (obj instanceof DCValue) {
73 DCValue dcValue = (DCValue) obj;
74 if (dcValue.getElement().equals(this.getElement())) {
75 return true;
76 }
77 else {
78 return false;
79 }
80 }
81 else {
82 return false;
83 }
84 }
85 }