JAL-633, JAL-591 - refactored ArgumentI.getValue from jabaws .getDefaultValue
[jalview.git] / src / jalview / ws / params / ArgumentI.java
index 2f42838..b464daa 100644 (file)
@@ -19,12 +19,22 @@ package jalview.ws.params;
 
 public interface ArgumentI
 {
+  /**
+   * 
+   * @return name for this argument
+   */
   String getName();
 
-  // TODO: rename setDefaultValue to setValue - to make it more semantically
-  // obvious what it means!
-  String getDefaultValue();
+  /**
+   * 
+   * @return current value for the argument (may equal the name)
+   */
+  String getValue();
 
-  void setDefaultValue(String selectedItem);
+  /**
+   * set the current value for the argument.
+   * @param selectedItem
+   */
+  void setValue(String selectedItem);
 
 }