Adds more parameters to commands
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / commands / RecordCommand.java
index 086cfa8..a54433d 100644 (file)
@@ -10,13 +10,13 @@ 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
 \r
   @Override\r
   public RecordCommand copy () {\r
@@ -26,7 +26,4 @@ public class RecordCommand extends Pazpar2Command {
     }    \r
     return newCommand;\r
   }\r
-\r
-  \r
-\r
 }\r