1 package org.kuali.ole.describe.bo;
2
3 import java.io.Serializable;
4
5
6
7
8 public class MarcEditorDataField implements Serializable, Comparable<MarcEditorDataField> {
9 private String tag;
10 private String ind1;
11 private String ind2;
12 private String value;
13
14
15
16
17
18
19 public String getTag() {
20 return tag;
21 }
22
23
24
25
26
27
28 public void setTag(String tag) {
29 this.tag = tag;
30 }
31
32
33
34
35
36
37 public String getValue() {
38 return value;
39 }
40
41
42
43
44
45
46 public void setValue(String value) {
47 this.value = value;
48 }
49
50
51
52
53
54
55 public String getInd1() {
56 return ind1;
57 }
58
59
60
61
62
63
64 public void setInd1(String ind1) {
65 this.ind1 = ind1;
66 }
67
68
69
70
71
72
73 public String getInd2() {
74 return ind2;
75 }
76
77
78
79
80
81
82 public void setInd2(String ind2) {
83 this.ind2 = ind2;
84 }
85
86
87
88
89
90
91
92 @Override
93 public boolean equals(Object obj) {
94 return super.equals(obj);
95 }
96
97 @Override
98 public int compareTo(MarcEditorDataField o) {
99 return this.getTag().compareTo(o.getTag());
100 }
101 }