\r
public String getId () {\r
return getParameterValue("id");\r
- } \r
+ }\r
+ \r
+ public void setOffset (String offset) {\r
+ setParameter(new CommandParameter("offset","=",offset));\r
+ }\r
+ \r
+ public String getOffset () {\r
+ return getParameterValue("offset");\r
+ }\r
+ \r
+ public void setChecksum (String checksum) {\r
+ setParameter(new CommandParameter("checksum","=",checksum));\r
+ }\r
+ \r
+ public String getChecksum () {\r
+ return getParameterValue("checksum");\r
+ }\r
+ \r
+ public void setNativesyntax (String nativesyntax) {\r
+ setParameterInState(new CommandParameter("nativesyntax","=",nativesyntax));\r
+ }\r
+ \r
+ public String getNativesyntax () {\r
+ return getParameterValue("nativesyntax");\r
+ }\r
+ \r
+ public void setSyntax (String syntax) {\r
+ setParameterInState(new CommandParameter("syntax","=",syntax)); \r
+ }\r
+ \r
+ public String getSyntax () {\r
+ return getParameterValue("syntax");\r
+ }\r
+ \r
+ public void setEsn (String esn) {\r
+ setParameter(new CommandParameter("esn","=",esn));\r
+ }\r
+ \r
+ public String getEsn () {\r
+ return getParameterValue("esn");\r
+ }\r
+ \r
+ public void setBinary (String binary) {\r
+ setParameter(new CommandParameter("binary","=",binary));\r
+ }\r
\r
@Override\r
public RecordCommand copy () {\r
return getParameter("num") != null ? Integer.parseInt(getParameter("num").value) : 0;\r
}\r
\r
+ public void setBlock(String block) {\r
+ setParameterInState(new CommandParameter("block","=",block));\r
+ }\r
+ \r
public ShowCommand copy () {\r
ShowCommand newCommand = new ShowCommand(stateMgr);\r
for (String parameterName : parameters.keySet()) {\r
super("termlist",stateMgr);\r
}\r
\r
+ public void setName(String names) {\r
+ setParameter(new CommandParameter("name","name",names));\r
+ }\r
+ \r
+ public String getName () {\r
+ return getParameterValue("name");\r
+ }\r
+ \r
+ public void setNum (String num) {\r
+ setParameter(new CommandParameter("num","=",num));\r
+ }\r
+ \r
+ public String getNum () {\r
+ return getParameterValue("num");\r
+ }\r
}\r