View Javadoc

1   package org.kuali.ole.license.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       * @return  Returns the oleCheckListId
26       */
27      public Long getOleCheckListId() {
28          return oleCheckListId;
29      }
30  
31      /**
32       * Sets the oleCheckListId attribute value.
33       * @param oleCheckListId The oleCheckListId to set.
34       */
35      public void setOleCheckListId(Long oleCheckListId) {
36          this.oleCheckListId = oleCheckListId;
37      }
38  
39      /**
40       *  Gets the description attribute.
41       * @return  Returns the description
42       */
43      public String getDescription() {
44          return description;
45      }
46  
47      /**
48       * Sets the description attribute value.
49       * @param description The description to set.
50       */
51      public void setDescription(String description) {
52          this.description = description;
53      }
54  
55      /**
56       *  Gets the lastModified attribute.
57       * @return  Returns the lastModified
58       */
59      public Timestamp getLastModified() {
60          return lastModified;
61      }
62  
63      /**
64       * Sets the lastModified attribute value.
65       * @param lastModified The lastModified to set.
66       */
67      public void setLastModified(Timestamp lastModified) {
68          this.lastModified = lastModified;
69      }
70  
71      /**
72       *  Gets the name attribute.
73       * @return  Returns the name
74       */
75      public String getName() {
76          return name;
77      }
78  
79      /**
80       * Sets the name attribute value.
81       * @param name The name to set.
82       */
83      public void setName(String name) {
84          this.name = name;
85      }
86  
87      /**
88       *  Gets the author attribute.
89       * @return  Returns the author
90       */
91      public String getAuthor() {
92          return author;
93      }
94  
95      /**
96       * Sets the author attribute value.
97       * @param author The author to set.
98       */
99      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 }