View Javadoc
1   /*
2    * Copyright 2005-2014 The Kuali Foundation.
3    * 
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl1.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.coeus.s2sgen.api.generate;
17  
18  /**
19   * 
20   * This class is meant to store and retrieve attachments and its associated properties
21   */
22  public class AttachmentData {
23      private String fileName;
24      private String contentId;
25      private byte[] content;
26      private String contentType;
27      private String hashValue;
28  
29      public String getFileName() {
30          return fileName;
31      }
32  
33      public void setFileName(String FileName) {
34          this.fileName = FileName;
35      }
36  
37      public String getContentId() {
38          return contentId;
39      }
40  
41      public void setContentId(String contentId) {
42          this.contentId = contentId;
43      }
44  
45      public byte[] getContent() {
46          return content;
47      }
48  
49      public void setContent(byte[] Content) {
50          this.content = Content;
51      }
52  
53      public String getContentType() {
54          return contentType;
55      }
56  
57      public void setContentType(String ContentType) {
58          this.contentType = ContentType;
59      }
60  
61      public String getHashValue() {
62          return hashValue;
63      }
64  
65      public void setHashValue(String hashValue) {
66          this.hashValue = hashValue;
67      }
68  
69  }