View Javadoc
1   package org.kuali.ole.select.bo;
2   
3   import org.apache.commons.lang.StringUtils;
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   import java.sql.Timestamp;
7   
8   
9   /**
10   * OleCheckListBo is the business object class for CheckList Maintenance Document
11   */
12  public class OleCheckListBo extends PersistableBusinessObjectBase {
13      private Long oleCheckListId;
14      private Timestamp lastModified;
15      private String description;
16      private String name;
17      private String author;
18      private boolean activeIndicator;
19      private String fileName;
20      private String remoteObjectIdentifier;
21      private String mimeType;
22  
23      /**
24       * Gets the oleCheckListId attribute.
25       *
26       * @return Returns the oleCheckListId
27       */
28      public Long getOleCheckListId() {
29          return oleCheckListId;
30      }
31  
32      /**
33       * Sets the oleCheckListId attribute value.
34       *
35       * @param oleCheckListId The oleCheckListId to set.
36       */
37      public void setOleCheckListId(Long oleCheckListId) {
38          this.oleCheckListId = oleCheckListId;
39      }
40  
41      /**
42       * Gets the description attribute.
43       *
44       * @return Returns the description
45       */
46      public String getDescription() {
47          return description;
48      }
49  
50      /**
51       * Sets the description attribute value.
52       *
53       * @param description The description to set.
54       */
55      public void setDescription(String description) {
56          this.description = description;
57      }
58  
59      /**
60       * Gets the lastModified attribute.
61       *
62       * @return Returns the lastModified
63       */
64      public Timestamp getLastModified() {
65          return lastModified;
66      }
67  
68      /**
69       * Sets the lastModified attribute value.
70       *
71       * @param lastModified The lastModified to set.
72       */
73      public void setLastModified(Timestamp lastModified) {
74          this.lastModified = lastModified;
75      }
76  
77      /**
78       * Gets the name attribute.
79       *
80       * @return Returns the name
81       */
82      public String getName() {
83          return name;
84      }
85  
86      /**
87       * Sets the name attribute value.
88       *
89       * @param name The name to set.
90       */
91      public void setName(String name) {
92          this.name = name;
93      }
94  
95      /**
96       * Gets the author attribute.
97       *
98       * @return Returns the author
99       */
100     public String getAuthor() {
101         return author;
102     }
103 
104     /**
105      * Sets the author attribute value.
106      *
107      * @param author The author to set.
108      */
109     public void setAuthor(String author) {
110         this.author = author;
111     }
112 
113     /**
114      * Gets the activeIndicator attribute.
115      *
116      * @return Returns the activeIndicator
117      */
118     public boolean isActiveIndicator() {
119         return activeIndicator;
120     }
121 
122     /**
123      * Sets the activeIndicator attribute value.
124      *
125      * @param activeIndicator The activeIndicator to set.
126      */
127     public void setActiveIndicator(boolean activeIndicator) {
128         this.activeIndicator = activeIndicator;
129     }
130 
131     /**
132      * Gets the fileName attribute.
133      *
134      * @return Returns the fileName
135      */
136     public String getFileName() {
137         return fileName;
138     }
139 
140     /**
141      * Sets the fileName attribute value.
142      *
143      * @param fileName The fileName to set.
144      */
145     public void setFileName(String fileName) {
146         this.fileName = fileName;
147     }
148 
149     /**
150      * Gets the remoteObjectIdentifier attribute.
151      *
152      * @return Returns the remoteObjectIdentifier
153      */
154     public String getRemoteObjectIdentifier() {
155         return remoteObjectIdentifier;
156     }
157 
158     /**
159      * Sets the remoteObjectIdentifier attribute value.
160      *
161      * @param remoteObjectIdentifier The remoteObjectIdentifier to set.
162      */
163     public void setRemoteObjectIdentifier(String remoteObjectIdentifier) {
164         this.remoteObjectIdentifier = remoteObjectIdentifier;
165     }
166 
167     /**
168      * Gets the mimeType attribute.
169      *
170      * @return Returns the mimeType
171      */
172     public String getMimeType() {
173         return mimeType;
174     }
175 
176     /**
177      * Sets the mimeType attribute value.
178      *
179      * @param mimeType The mimeType to set.
180      */
181     public void setMimeType(String mimeType) {
182         this.mimeType = mimeType;
183     }
184 
185     /**
186      * Gets the isComplete attribute.
187      *
188      * @return boolean
189      */
190     public boolean isComplete() {
191         return StringUtils.isNotBlank(fileName) && StringUtils.isNotBlank(mimeType);
192     }
193 }