X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fparams%2FArgumentI.java;h=b464daadfa40fa4193031a7832db7e178bdfb853;hb=55022c858882bcabf92ad7bba05c41b5a221625c;hp=2f428387095d6fb68b969c398c7965e8d3c90af5;hpb=9cbc9c9c311231087e7b65cc815e03b3c63823e2;p=jalview.git diff --git a/src/jalview/ws/params/ArgumentI.java b/src/jalview/ws/params/ArgumentI.java index 2f42838..b464daa 100644 --- 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 { + /** + * + * @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); }