Javadoc
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / BytargetCommand.java
index 786ae4c..4ccf8fe 100644 (file)
@@ -1,9 +1,10 @@
 package com.indexdata.mkjsf.pazpar2.commands;\r
 \r
+import com.indexdata.mkjsf.pazpar2.commands.sp.BytargetCommandSp;\r
 import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;\r
 \r
 /**\r
- * Represents a Pazpar2 <code>bytarget</code> command, can be accessed by <code>pzreq.bytarget</code>\r
+ * <b><code>bytarget</code></b> Pazpar2 command referenced as: <code>pzreq.bytarget</code>\r
  * \r
  * @author Niels Erik\r
  *\r
@@ -25,7 +26,7 @@ public class BytargetCommand extends Pazpar2Command implements ServiceProxyComma
   }\r
 \r
   public ServiceProxyCommand getSp() {\r
-    return this;\r
+    return new BytargetCommandSp(this);\r
   }\r
 \r
   @Override\r