View Javadoc
1   package org.kuali.ole.describe.bo.marc.structuralfields;
2   
3   import java.io.Serializable;
4   
5   /**
6    * Class for handling leader and its structural fields
7    */
8   public class LeaderField implements Serializable {
9   
10      private String length = "#####";
11      private String recStatus = "n";
12      private String type = "a";
13      private String bibLevel = "m";
14      private String typeOfControl = "#";
15      private String coding = "a";
16      private int indicatorCount = 2;
17      private int subfieldCount = 2;
18      private String baseAddress = "#####";
19      private String encodingLevel = "#";
20      private String descCatalogForm = "a";
21      private String multipartRecordLevel = "#";
22      private int lengthOfLengthOfField = 4;
23      private int lengthOfStartingCharacterPosition = 5;
24      private int lengthOfImplementationDefined = 0;
25      private int undefinedLeader = 0;
26  
27  
28  
29      public String getRecStatus() {
30          return recStatus;
31      }
32  
33      public String getLength() {
34          return length;
35      }
36  
37      public void setLength(String length) {
38          this.length = length;
39      }
40  
41      public void setRecStatus(String recStatus) {
42          this.recStatus = recStatus;
43      }
44  
45      public String getType() {
46          return type;
47      }
48  
49      public void setType(String type) {
50          this.type = type;
51      }
52  
53      public String getBibLevel() {
54          return bibLevel;
55      }
56  
57      public void setBibLevel(String bibLevel) {
58          this.bibLevel = bibLevel;
59      }
60  
61      public String getTypeOfControl() {
62          return typeOfControl;
63      }
64  
65      public void setTypeOfControl(String typeOfControl) {
66          this.typeOfControl = typeOfControl;
67      }
68  
69      public String getCoding() {
70          return coding;
71      }
72  
73      public void setCoding(String coding) {
74          this.coding = coding;
75      }
76  
77      public int getIndicatorCount() {
78          return indicatorCount;
79      }
80  
81      public void setIndicatorCount(int indicatorCount) {
82          this.indicatorCount = indicatorCount;
83      }
84  
85      public int getSubfieldCount() {
86          return subfieldCount;
87      }
88  
89      public void setSubfieldCount(int subfieldCount) {
90          this.subfieldCount = subfieldCount;
91      }
92  
93      public String getBaseAddress() {
94          return baseAddress;
95      }
96  
97      public void setBaseAddress(String baseAddress) {
98          this.baseAddress = baseAddress;
99      }
100 
101     public String getEncodingLevel() {
102         return encodingLevel;
103     }
104 
105     public void setEncodingLevel(String encodingLevel) {
106         this.encodingLevel = encodingLevel;
107     }
108 
109     public String getDescCatalogForm() {
110         return descCatalogForm;
111     }
112 
113     public void setDescCatalogForm(String descCatalogForm) {
114         this.descCatalogForm = descCatalogForm;
115     }
116 
117     public String getMultipartRecordLevel() {
118         return multipartRecordLevel;
119     }
120 
121     public void setMultipartRecordLevel(String multipartRecordLevel) {
122         this.multipartRecordLevel = multipartRecordLevel;
123     }
124 
125     public int getLengthOfLengthOfField() {
126         return lengthOfLengthOfField;
127     }
128 
129     public void setLengthOfLengthOfField(int lengthOfLengthOfField) {
130         this.lengthOfLengthOfField = lengthOfLengthOfField;
131     }
132 
133     public int getLengthOfStartingCharacterPosition() {
134         return lengthOfStartingCharacterPosition;
135     }
136 
137     public void setLengthOfStartingCharacterPosition(int lengthOfStartingCharacterPosition) {
138         this.lengthOfStartingCharacterPosition = lengthOfStartingCharacterPosition;
139     }
140 
141     public int getLengthOfImplementationDefined() {
142         return lengthOfImplementationDefined;
143     }
144 
145     public void setLengthOfImplementationDefined(int lengthOfImplementationDefined) {
146         this.lengthOfImplementationDefined = lengthOfImplementationDefined;
147     }
148 
149 
150     public int getUndefinedLeader() {
151         return undefinedLeader;
152     }
153 
154     public void setUndefinedLeader(int undefinedLeader) {
155         this.undefinedLeader = undefinedLeader;
156     }
157 
158 }