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  
14      /**
15       * Gets the tag attribute.
16       *
17       * @return Returns the tag.
18       */
19      public String getTag() {
20          return tag;
21      }
22  
23      /**
24       * Sets the tag attribute value.
25       *
26       * @param tag The tag to set.
27       */
28      public void setTag(String tag) {
29          this.tag = tag;
30      }
31  
32      /**
33       * Gets the value attribute.
34       *
35       * @return Returns the value.
36       */
37      public String getValue() {
38          return value;
39      }
40  
41      /**
42       * Sets the value attribute value.
43       *
44       * @param value The value to set.
45       */
46      public void setValue(String value) {
47          this.value = value;
48      }
49  
50      /**
51       * Gets the ind1 attribute.
52       *
53       * @return Returns the ind1.
54       */
55      public String getInd1() {
56          return ind1;
57      }
58  
59      /**
60       * Sets the ind1 attribute value.
61       *
62       * @param ind1 The ind1 to set.
63       */
64      public void setInd1(String ind1) {
65          this.ind1 = ind1;
66      }
67  
68      /**
69       * Gets the ind2 attribute.
70       *
71       * @return Returns the ind2.
72       */
73      public String getInd2() {
74          return ind2;
75      }
76  
77      /**
78       * Sets the ind2 attribute value.
79       *
80       * @param ind2 The ind2 to set.
81       */
82      public void setInd2(String ind2) {
83          this.ind2 = ind2;
84      }
85  
86      /**
87       * Implementing equals,Indicates whether some other object is "equal to" this one.
88       *
89       * @param obj
90       * @return boolean
91       */
92      @Override
93      public boolean equals(Object obj) {
94          return super.equals(obj);    //To change body of overridden methods use File | Settings | File Templates.
95      }
96  
97      @Override
98      public int compareTo(MarcEditorDataField o) {
99          return this.getTag().compareTo(o.getTag());
100     }
101 }