Renames project from pz2utils4jsf to mkjsf
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / commands / RecordCommand.java
index 09e370c..5e2c03b 100644 (file)
@@ -10,11 +10,11 @@ public class RecordCommand extends Pazpar2Command {
     super("record",stateMgr);\r
   }\r
   \r
-  public void setRecordId(String recId) {\r
+  public void setId(String recId) {\r
     setParameter(new CommandParameter("id","=",recId));\r
   }\r
   \r
-  public String getRecordId () {\r
+  public String getId () {\r
     return getParameterValue("id");\r
   }    \r
 \r
@@ -22,7 +22,7 @@ public class RecordCommand extends Pazpar2Command {
   public RecordCommand copy () {\r
     RecordCommand newCommand = new RecordCommand(stateMgr);\r
     for (String parameterName : parameters.keySet()) {\r
-      newCommand.setParameterSilently(parameters.get(parameterName).copy());      \r
+      newCommand.setParameterInState(parameters.get(parameterName).copy());      \r
     }    \r
     return newCommand;\r
   }\r