001 package org.kuali.ole.license.bo;
002
003 import org.apache.commons.lang.StringUtils;
004 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
005
006 import java.sql.Timestamp;
007
008
009 /**
010 * OleCheckListBo is the business object class for CheckList Maintenance Document
011 */
012 public class OleCheckListBo extends PersistableBusinessObjectBase {
013 private Long oleCheckListId;
014 private Timestamp lastModified;
015 private String description;
016 private String name;
017 private String author;
018 private boolean activeIndicator;
019 private String fileName;
020 private String remoteObjectIdentifier;
021 private String mimeType;
022
023 /**
024 * Gets the oleCheckListId attribute.
025 * @return Returns the oleCheckListId
026 */
027 public Long getOleCheckListId() {
028 return oleCheckListId;
029 }
030
031 /**
032 * Sets the oleCheckListId attribute value.
033 * @param oleCheckListId The oleCheckListId to set.
034 */
035 public void setOleCheckListId(Long oleCheckListId) {
036 this.oleCheckListId = oleCheckListId;
037 }
038
039 /**
040 * Gets the description attribute.
041 * @return Returns the description
042 */
043 public String getDescription() {
044 return description;
045 }
046
047 /**
048 * Sets the description attribute value.
049 * @param description The description to set.
050 */
051 public void setDescription(String description) {
052 this.description = description;
053 }
054
055 /**
056 * Gets the lastModified attribute.
057 * @return Returns the lastModified
058 */
059 public Timestamp getLastModified() {
060 return lastModified;
061 }
062
063 /**
064 * Sets the lastModified attribute value.
065 * @param lastModified The lastModified to set.
066 */
067 public void setLastModified(Timestamp lastModified) {
068 this.lastModified = lastModified;
069 }
070
071 /**
072 * Gets the name attribute.
073 * @return Returns the name
074 */
075 public String getName() {
076 return name;
077 }
078
079 /**
080 * Sets the name attribute value.
081 * @param name The name to set.
082 */
083 public void setName(String name) {
084 this.name = name;
085 }
086
087 /**
088 * Gets the author attribute.
089 * @return Returns the author
090 */
091 public String getAuthor() {
092 return author;
093 }
094
095 /**
096 * Sets the author attribute value.
097 * @param author The author to set.
098 */
099 public void setAuthor(String author) {
100 this.author = author;
101 }
102
103 /**
104 * Gets the activeIndicator attribute.
105 * @return Returns the activeIndicator
106 */
107 public boolean isActiveIndicator() {
108 return activeIndicator;
109 }
110
111 /**
112 * Sets the activeIndicator attribute value.
113 * @param activeIndicator The activeIndicator to set.
114 */
115 public void setActiveIndicator(boolean activeIndicator) {
116 this.activeIndicator = activeIndicator;
117 }
118
119 /**
120 * Gets the fileName attribute.
121 * @return Returns the fileName
122 */
123 public String getFileName() {
124 return fileName;
125 }
126
127 /**
128 * Sets the fileName attribute value.
129 * @param fileName The fileName to set.
130 */
131 public void setFileName(String fileName) {
132 this.fileName = fileName;
133 }
134
135 /**
136 * Gets the remoteObjectIdentifier attribute.
137 * @return Returns the remoteObjectIdentifier
138 */
139 public String getRemoteObjectIdentifier() {
140 return remoteObjectIdentifier;
141 }
142
143 /**
144 * Sets the remoteObjectIdentifier attribute value.
145 * @param remoteObjectIdentifier The remoteObjectIdentifier to set.
146 */
147 public void setRemoteObjectIdentifier(String remoteObjectIdentifier) {
148 this.remoteObjectIdentifier = remoteObjectIdentifier;
149 }
150
151 /**
152 * Gets the mimeType attribute.
153 * @return Returns the mimeType
154 */
155 public String getMimeType() {
156 return mimeType;
157 }
158
159 /**
160 * Sets the mimeType attribute value.
161 * @param mimeType The mimeType to set.
162 */
163 public void setMimeType(String mimeType) {
164 this.mimeType = mimeType;
165 }
166
167 /**
168 * Gets the isComplete attribute.
169 * @return boolean
170 */
171 public boolean isComplete() {
172 return StringUtils.isNotBlank(fileName) && StringUtils.isNotBlank(mimeType);
173 }
174 }