1 18 19 20 package sync4j.framework.core; 21 22 29 public final class Get extends ItemizedCommand 30 implements java.io.Serializable { 31 32 public static String COMMAND_NAME = "Get"; 34 35 private String lang; 37 38 40 41 protected Get() {} 42 43 55 public Get(final CmdID cmdID, 56 final boolean noResp, 57 final String lang, 58 final Cred cred, 59 final Meta meta, 60 final Item[] items) { 61 super(cmdID, meta, items); 62 63 setCred(cred); 64 65 this.noResp = (noResp) ? new Boolean (noResp) : null; 66 this.lang = lang; 67 } 68 69 71 76 public String getName() { 77 return Get.COMMAND_NAME; 78 } 79 80 86 public String getLang() { 87 return lang; 88 } 89 90 95 public void setLang(String lang) { 96 this.lang = lang; 97 } 98 } | Popular Tags |