View Javadoc

1   package org.kuali.ole.docstore.model.bo;
2   
3   import org.kuali.ole.docstore.model.enums.DocType;
4   import org.kuali.ole.docstore.model.enums.DocCategory;
5   
6   /**
7    * Base class for logical representation of any document used in OLE.
8    * (These documents come in different formats and are stored in DocStore module and indexed in Discovery module.)
9    * User: tirumalesh.b
10   * Date: 1/2/12 Time: 2:57 PM
11   */
12  public class OleDocument {
13      protected String id;
14      protected DocCategory docCategory;
15      protected DocType docType;
16  
17      public OleDocument() {
18      }
19  
20      public String getId() {
21          return id;
22      }
23  
24      public void setId(String id) {
25          this.id = id;
26      }
27  
28      public DocCategory getDocCategory() {
29          return docCategory;
30      }
31  
32      public void setDocCategory(DocCategory docCategory) {
33          this.docCategory = docCategory;
34      }
35  
36      public DocType getDocType() {
37          return docType;
38      }
39  
40      public void setDocType(DocType docType) {
41          this.docType = docType;
42      }
43  }