View Javadoc
1   package org.kuali.ole.describe.form;
2   
3   import org.kuali.ole.describe.bo.marc.structuralfields.ControlFields;
4   import org.kuali.ole.describe.bo.marc.structuralfields.LeaderField;
5   import org.kuali.ole.describe.bo.MarcEditorControlField;
6   import org.kuali.ole.describe.bo.MarcEditorDataField;
7   
8   import java.util.ArrayList;
9   import java.util.List;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: pp7788
14   * Date: 12/11/12
15   * Time: 12:42 PM
16   * To change this template use File | Settings | File Templates.
17   */
18  public class WorkBibMarcForm extends EditorForm {
19      private String leader;
20      private String uuid;
21      private List<MarcEditorControlField> controlFields = new ArrayList<MarcEditorControlField>();
22      private List<MarcEditorDataField> dataFields = new ArrayList<MarcEditorDataField>();
23  
24      private LeaderField leaderField = new LeaderField();
25      private ControlFields marcControlFields = new ControlFields();
26  
27      /**
28       * Default Constructor.
29       * The default behaviour of this object.
30       */
31      public WorkBibMarcForm() {
32          super();
33          controlFields.add(new MarcEditorControlField());
34          dataFields.add(new MarcEditorDataField());
35      }
36  
37      /**
38       * Gets the leader attribute.
39       *
40       * @return Returns leader.
41       */
42      public String getLeader() {
43          return leader;
44      }
45  
46      /**
47       * Sets the leader attribute value.
48       *
49       * @param leader The leader to set.
50       */
51      public void setLeader(String leader) {
52          this.leader = leader;
53      }
54  
55      /**
56       * Gets the  dataFields attribute.
57       *
58       * @return Returns dataFields.
59       */
60      public List<MarcEditorDataField> getDataFields() {
61          return dataFields;
62      }
63  
64      /**
65       * Sets the dataFields attribute value.
66       *
67       * @param dataFields The dataFields to set.
68       */
69      public void setDataFields(List<MarcEditorDataField> dataFields) {
70          this.dataFields = dataFields;
71      }
72  
73      /**
74       * Gets the  controlFields attribute.
75       *
76       * @return Returns controlFields.
77       */
78      public List<MarcEditorControlField> getControlFields() {
79          return controlFields;
80      }
81  
82      /**
83       * Sets the controlFields attribute value.
84       *
85       * @param controlFields The controlFields to set.
86       */
87      public void setControlFields(List<MarcEditorControlField> controlFields) {
88          this.controlFields = controlFields;
89      }
90  
91      /**
92       * Gets the  message attribute.
93       *
94       * @return Returns message.
95       */
96      public String getMessage() {
97          return message;
98      }
99  
100     /**
101      * Sets the message attribute value.
102      *
103      * @param message The message to set.
104      */
105     public void setMessage(String message) {
106         this.message = message;
107     }
108 
109     /**
110      * Gets the  uuid attribute.
111      *
112      * @return Returns uuid.
113      */
114     public String getUuid() {
115         return uuid;
116     }
117 
118     /**
119      * Sets the uuid attribute value.
120      *
121      * @param uuid The uuid to set.
122      */
123     public void setUuid(String uuid) {
124         this.uuid = uuid;
125     }
126 
127     public LeaderField getLeaderField() {
128         return leaderField;
129     }
130 
131     public void setLeaderField(LeaderField leaderField) {
132         this.leaderField = leaderField;
133     }
134 
135 
136 
137     public ControlFields getMarcControlFields() {
138         return marcControlFields;
139     }
140 
141     public void setMarcControlFields(ControlFields marcControlFields) {
142         this.marcControlFields = marcControlFields;
143     }
144 }