1 36 package org.columba.ristretto.imap; 37 38 43 public class ResponseTextCode { 44 47 public static final int UNSPECIFIED = -1; 48 51 public static final int ALERT = 0; 52 55 public static final int BADCHARSET = 1; 56 59 public static final int CAPABILITY = 2; 60 63 public static final int PARSE = 3; 64 67 public static final int PERMANENTFLAGS = 4; 68 71 public static final int READ_ONLY = 5; 72 75 public static final int READ_WRITE = 6; 76 79 public static final int TRYCREATE = 7; 80 83 public static final int UIDVALIDITY = 8; 84 87 public static final int UIDNEXT = 9; 88 91 public static final int UNSEEN = 10; 92 93 private int type; 94 private int longValue; 95 private String stringValue; 96 private String [] stringArrayValue; 97 98 99 100 103 public int getIntValue() { 104 return longValue; 105 } 106 109 public void setIntValue(int intValue) { 110 this.longValue = intValue; 111 } 112 115 public String [] getStringArrayValue() { 116 return (String []) stringArrayValue.clone(); 117 } 118 121 public void setStringArrayValue(String [] stringArrayValue) { 122 this.stringArrayValue = stringArrayValue; 123 } 124 127 public String getStringValue() { 128 return stringValue; 129 } 130 133 public void setStringValue(String stringValue) { 134 this.stringValue = stringValue; 135 } 136 139 public int getType() { 140 return type; 141 } 142 145 public void setType(int type) { 146 this.type = type; 147 } 148 } 149 | Popular Tags |