1 18 19 20 package sync4j.framework.core; 21 22 31 public final class Put 32 extends ItemizedCommand 33 implements java.io.Serializable { 34 35 public static String COMMAND_NAME = "Put"; 37 38 private String lang; 40 41 43 46 protected Put() {} 47 48 60 public Put( 61 final CmdID cmdID , 62 final boolean noResp, 63 final String lang , 64 final Cred cred , 65 final Meta meta , 66 final Item[] items ) { 67 super(cmdID, meta, items); 68 69 setCred(cred); 70 this.noResp = (noResp) ? new Boolean (noResp) : null; 71 this.lang = lang; 72 } 73 74 75 76 78 84 public String getLang() { 85 return lang; 86 } 87 88 93 public void setLang(String lang) { 94 this.lang = lang; 95 } 96 97 102 public String getName() { 103 return Put.COMMAND_NAME; 104 } 105 } 106 | Popular Tags |