1 7 package org.contineo.communication; 8 9 15 public class Attachment { 16 17 20 private int messageId; 21 24 private int partId; 25 28 private String icon; 29 32 private String filename; 33 36 private String mimeType; 37 38 41 public Attachment() { 42 messageId = 0; 43 partId = 0; 44 icon = ""; 45 filename = ""; 46 mimeType = ""; 47 } 48 49 54 public String getFilename() { 55 return filename; 56 } 57 58 63 public String getIcon() { 64 return icon; 65 } 66 67 72 public int getMessageId() { 73 return messageId; 74 } 75 76 81 public void setFilename(String string) { 82 filename = string; 83 } 84 85 90 public void setIcon(String string) { 91 icon = string; 92 } 93 94 99 public void setMessageId(int i) { 100 messageId = i; 101 } 102 103 108 public int getPartId() { 109 return partId; 110 } 111 112 117 public void setPartId(int i) { 118 partId = i; 119 } 120 121 126 public String getMimeType() { 127 return mimeType; 128 } 129 130 135 public void setMimeType(String string) { 136 mimeType = string; 137 } 138 139 } 140 | Popular Tags |