001package org.kuali.ole.describe.form; 002 003import org.kuali.ole.describe.bo.DublinEditorField; 004import org.kuali.rice.krad.web.form.UifFormBase; 005 006import java.util.ArrayList; 007import java.util.Date; 008import java.util.List; 009 010/** 011 * DublinEditorForm is the Form class for Dublin Editor 012 */ 013public class DublinEditorForm extends UifFormBase { 014 015 private List<DublinEditorField> dublinFieldList = new ArrayList<DublinEditorField>(); 016 private List<DublinEditorField> existingDublinFieldList = new ArrayList<DublinEditorField>(); 017 private String message; 018 private String uuid; 019 private String bibStatus; 020 private String updatedBy; 021 private String createdBy; 022 private Date createdDate; 023 024 public String getUpdatedBy() { 025 return updatedBy; 026 } 027 028 public void setUpdatedBy(String updatedBy) { 029 this.updatedBy = updatedBy; 030 } 031 032 public String getCreatedBy() { 033 return createdBy; 034 } 035 036 public void setCreatedBy(String createdBy) { 037 //createdBy = GlobalVariables.getUserSession().getLoggedInUserPrincipalName(); 038 this.createdBy = createdBy; 039 } 040 041 public Date getCreatedDate() { 042 return createdDate; 043 } 044 045 public void setCreatedDate(Date createdDate) { 046 this.createdDate = createdDate; 047 } 048 049 public Date getUpdatedDate() { 050 return updatedDate; 051 } 052 053 public void setUpdatedDate(Date updatedDate) { 054 this.updatedDate = updatedDate; 055 } 056 057 private Date updatedDate; 058 059 public String getBibStatus() { 060 return bibStatus; 061 } 062 063 public void setBibStatus(String bibStatus) { 064 this.bibStatus = bibStatus; 065 } 066 067 /** 068 * Default Constructor. 069 * The default behaviour of this object. 070 */ 071 public DublinEditorForm() { 072 super(); 073 dublinFieldList.add(new DublinEditorField()); 074 } 075 076 /** 077 * Gets the dublinFieldList attribute. 078 * 079 * @return Returns the dublinFieldList. 080 */ 081 public List<DublinEditorField> getDublinFieldList() { 082 return dublinFieldList; 083 } 084 085 /** 086 * Sets the dublinFieldList attribute value. 087 * 088 * @param dublinFieldList The dublinFieldList to set. 089 */ 090 public void setDublinFieldList(List<DublinEditorField> dublinFieldList) { 091 this.dublinFieldList = dublinFieldList; 092 } 093 094 /** 095 * Gets the existingDublinFieldList attribute. 096 * 097 * @return Returns the existingDublinFieldList. 098 */ 099 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}