01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/mailtool/tags/sakai_2-4-1/mailtool/src/java/org/sakaiproject/tool/mailtool/Attachment.java $
03: * $Id: Attachment.java 27662 2007-03-22 19:44:57Z kimsooil@bu.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2006, 2007 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.mailtool;
21:
22: /**
23: * Attachment (info) class in Mailtool
24: *
25: * @author kimsooil
26: *
27: */
28: public class Attachment {
29:
30: private int id;
31: private String filename;
32: private String size;
33: private boolean isSelected;
34:
35: public Attachment() {
36: }
37:
38: public int getId() {
39: return id;
40: }
41:
42: public void setId(int id) {
43: this .id = id;
44: }
45:
46: public String getFilename() {
47: return filename;
48: }
49:
50: public void setFilename(String f) {
51: this .filename = f;
52: }
53:
54: public String getSize() {
55: return size;
56: }
57:
58: public void setSize(String s) {
59: this .size = s;
60: }
61:
62: public void setSelected(boolean selected) {
63:
64: this .isSelected = selected;
65: }
66:
67: public boolean isSelected() {
68:
69: return isSelected;
70: }
71: }
|