git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-633, JAL-591 - refactored ArgumentI.getValue from jabaws .getDefaultValue
[jalview.git]
/
src
/
jalview
/
ws
/
params
/
ArgumentI.java
diff --git
a/src/jalview/ws/params/ArgumentI.java
b/src/jalview/ws/params/ArgumentI.java
index
2f42838
..
b464daa
100644
(file)
--- a/
src/jalview/ws/params/ArgumentI.java
+++ b/
src/jalview/ws/params/ArgumentI.java
@@
-19,12
+19,22
@@
package jalview.ws.params;
public interface ArgumentI
{
public interface ArgumentI
{
+ /**
+ *
+ * @return name for this argument
+ */
String getName();
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);
}
}