View Javadoc
1   package org.kuali.ole.describe.bo;
2   
3   import java.io.Serializable;
4   
5   /**
6    * MarcEditorDataField is business object class for Marc Editor
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      private String value260a;
14      private String value260b;
15      private String value260c;
16      private boolean selected;
17  
18      /**
19       * Gets the tag attribute.
20       *
21       * @return Returns the tag.
22       */
23      public String getTag() {
24          return tag;
25      }
26  
27      /**
28       * Sets the tag attribute value.
29       *
30       * @param tag The tag to set.
31       */
32      public void setTag(String tag) {
33          this.tag = tag;
34      }
35  
36      /**
37       * Gets the value attribute.
38       *
39       * @return Returns the value.
40       */
41      public String getValue() {
42          return value;
43      }
44  
45      /**
46       * Sets the value attribute value.
47       *
48       * @param value The value to set.
49       */
50      public void setValue(String value) {
51          this.value = value;
52      }
53  
54      /**
55       * Gets the ind1 attribute.
56       *
57       * @return Returns the ind1.
58       */
59      public String getInd1() {
60          return ind1;
61      }
62  
63      /**
64       * Sets the ind1 attribute value.
65       *
66       * @param ind1 The ind1 to set.
67       */
68      public void setInd1(String ind1) {
69          this.ind1 = ind1;
70      }
71  
72      /**
73       * Gets the ind2 attribute.
74       *
75       * @return Returns the ind2.
76       */
77      public String getInd2() {
78          return ind2;
79      }
80  
81      /**
82       * Sets the ind2 attribute value.
83       *
84       * @param ind2 The ind2 to set.
85       */
86      public void setInd2(String ind2) {
87          this.ind2 = ind2;
88      }
89  
90      /**
91       * Gets the selected attribute.
92       *
93       * @return Returns the selected.
94       */
95      public boolean isSelected() {
96          return selected;
97      }
98  
99      /**
100      * Sets the selected attribute value.
101      *
102      * @param selected The selected to set.
103      */
104     public void setSelected(boolean selected) {
105         this.selected = selected;
106     }
107 
108     /**
109      * Gets the 260c attribute value.
110      * @return
111      */
112     public String getValue260c() {
113         return value260c;
114     }
115 
116     /**
117      * Sets the 260c attribute value.
118      * @param value260c
119      */
120     public void setValue260c(String value260c) {
121         this.value260c = value260c;
122     }
123 
124     /**
125      * Gets the 260b attribute value.
126      * @return
127      */
128     public String getValue260b() {
129         return value260b;
130     }
131 
132     /**
133      * Sets the 260b attribute value.
134      * @param value260b
135      */
136     public void setValue260b(String value260b) {
137         this.value260b = value260b;
138     }
139 
140     /**
141      * Gets the 260a attribute value.
142      * @return
143      */
144     public String getValue260a() {
145         return value260a;
146     }
147 
148     /**
149      * Sets the 260a attribute value.
150      * @param value260a
151      */
152     public void setValue260a(String value260a) {
153         this.value260a = value260a;
154     }
155 
156     /**
157      * Implementing equals,Indicates whether some other object is "equal to" this one.
158      *
159      * @param obj
160      * @return boolean
161      */
162     @Override
163     public boolean equals(Object obj) {
164         return super.equals(obj);    //To change body of overridden methods use File | Settings | File Templates.
165     }
166 
167     @Override
168     public int compareTo(MarcEditorDataField o) {
169         return this.getTag().compareTo(o.getTag());
170     }
171 }