Adds more parameters to commands
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / commands / RecordCommand.java
index 09e370c..a54433d 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