View Javadoc
1   /*
2    * Kuali Coeus, a comprehensive research administration system for higher education.
3    * 
4    * Copyright 2005-2015 Kuali, Inc.
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.coeus.s2sgen.api.generate;
20  
21  /**
22   * 
23   * This class is meant to store and retrieve attachments and its associated properties
24   */
25  public class AttachmentData {
26      private String fileName;
27      private String contentId;
28      private byte[] content;
29      private String contentType;
30      private String hashValue;
31  
32      public String getFileName() {
33          return fileName;
34      }
35  
36      public void setFileName(String FileName) {
37          this.fileName = FileName;
38      }
39  
40      public String getContentId() {
41          return contentId;
42      }
43  
44      public void setContentId(String contentId) {
45          this.contentId = contentId;
46      }
47  
48      public byte[] getContent() {
49          return content;
50      }
51  
52      public void setContent(byte[] Content) {
53          this.content = Content;
54      }
55  
56      public String getContentType() {
57          return contentType;
58      }
59  
60      public void setContentType(String ContentType) {
61          this.contentType = ContentType;
62      }
63  
64      public String getHashValue() {
65          return hashValue;
66      }
67  
68      public void setHashValue(String hashValue) {
69          this.hashValue = hashValue;
70      }
71  
72  }