View Javadoc
1   package org.kuali.ole.describe.form;
2   
3   import org.kuali.ole.describe.bo.DublinEditorField;
4   import org.kuali.rice.krad.web.form.UifFormBase;
5   
6   import java.util.ArrayList;
7   import java.util.Date;
8   import java.util.List;
9   
10  /**
11   * DublinEditorForm is the Form class for Dublin Editor
12   */
13  public class DublinEditorForm extends UifFormBase {
14  
15      private List<DublinEditorField> dublinFieldList = new ArrayList<DublinEditorField>();
16      private List<DublinEditorField> existingDublinFieldList = new ArrayList<DublinEditorField>();
17      private String message;
18      private String uuid;
19      private String bibStatus;
20      private String updatedBy;
21      private String createdBy;
22      private Date createdDate;
23  
24      public String getUpdatedBy() {
25          return updatedBy;
26      }
27  
28      public void setUpdatedBy(String updatedBy) {
29          this.updatedBy = updatedBy;
30      }
31  
32      public String getCreatedBy() {
33          return createdBy;
34      }
35  
36      public void setCreatedBy(String createdBy) {
37          //createdBy = GlobalVariables.getUserSession().getLoggedInUserPrincipalName();
38          this.createdBy = createdBy;
39      }
40  
41      public Date getCreatedDate() {
42          return createdDate;
43      }
44  
45      public void setCreatedDate(Date createdDate) {
46          this.createdDate = createdDate;
47      }
48  
49      public Date getUpdatedDate() {
50          return updatedDate;
51      }
52  
53      public void setUpdatedDate(Date updatedDate) {
54          this.updatedDate = updatedDate;
55      }
56  
57      private Date updatedDate;
58  
59      public String getBibStatus() {
60          return bibStatus;
61      }
62  
63      public void setBibStatus(String bibStatus) {
64          this.bibStatus = bibStatus;
65      }
66  
67      /**
68       * Default Constructor.
69       * The default behaviour of this object.
70       */
71      public DublinEditorForm() {
72          super();
73          dublinFieldList.add(new DublinEditorField());
74      }
75  
76      /**
77       * Gets the dublinFieldList attribute.
78       *
79       * @return Returns the dublinFieldList.
80       */
81      public List<DublinEditorField> getDublinFieldList() {
82          return dublinFieldList;
83      }
84  
85      /**
86       * Sets the dublinFieldList attribute value.
87       *
88       * @param dublinFieldList The dublinFieldList to set.
89       */
90      public void setDublinFieldList(List<DublinEditorField> dublinFieldList) {
91          this.dublinFieldList = dublinFieldList;
92      }
93  
94      /**
95       * Gets the existingDublinFieldList attribute.
96       *
97       * @return Returns the existingDublinFieldList.
98       */
99      public List<DublinEditorField> getExistingDublinFieldList() {
100         return existingDublinFieldList;
101     }
102 
103     /**
104      * Sets the existingDublinFieldList attribute value.
105      *
106      * @param existingDublinFieldList The existingDublinFieldList.
107      */
108     public void setExistingDublinFieldList(List<DublinEditorField> existingDublinFieldList) {
109         this.existingDublinFieldList = existingDublinFieldList;
110     }
111 
112     /**
113      * Gets the message attribute.
114      *
115      * @return Returns the message.
116      */
117     public String getMessage() {
118         return message;
119     }
120 
121     /**
122      * Sets the message attribute value.
123      *
124      * @param message The message to set.
125      */
126     public void setMessage(String message) {
127         this.message = message;
128     }
129 
130     /**
131      * Gets the uuid attribute.
132      *
133      * @return Returns the uuid.
134      */
135     public String getUuid() {
136         return uuid;
137     }
138 
139     /**
140      * Sets the uuid attribute value.
141      *
142      * @param uuid The uuid to set.
143      */
144     public void setUuid(String uuid) {
145         this.uuid = uuid;
146     }
147 }