water.api
Class Parse.ExistingCSVKey

java.lang.Object
  extended by water.Iced
      extended by water.api.RequestArguments.Argument<T>
          extended by water.api.RequestArguments.InputText<T>
              extended by water.api.RequestArguments.TypeaheadInputText<Parse.PSetup>
                  extended by water.api.Parse.ExistingCSVKey
All Implemented Interfaces:
java.lang.Cloneable, Request.Filter, Freezable
Enclosing class:
Parse

public class Parse.ExistingCSVKey
extends RequestArguments.TypeaheadInputText<Parse.PSetup>


Field Summary
 
Fields inherited from class water.api.RequestArguments.TypeaheadInputText
_typeaheadHref, _typeaheadLimit
 
Fields inherited from class water.api.RequestArguments.Argument
_displayName, _field, _hideInQuery, _name, _prerequisites, _readOnly, _requestHelp, _required
 
Constructor Summary
Parse.ExistingCSVKey(java.lang.String name)
           
 
Method Summary
protected  Parse.PSetup defaultValue()
          Returns the default value of the argument.
protected  Parse.PSetup parse(java.lang.String input)
          Override this method to provide parsing of the input string to the Java expected value.
 java.lang.String queryComment()
           
protected  java.lang.String queryDescription()
          Returns the query description.
 
Methods inherited from class water.api.RequestArguments.TypeaheadInputText
jsAddons
 
Methods inherited from class water.api.RequestArguments.InputText
jsRefresh, jsValue, queryElement
 
Methods inherited from class water.api.RequestArguments.Argument
addPrerequisite, check, disable, disable, disabled, errors, originalValue, query, queryAddons, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, value
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parse.ExistingCSVKey

public Parse.ExistingCSVKey(java.lang.String name)
Method Detail

parse

protected Parse.PSetup parse(java.lang.String input)
                      throws java.lang.IllegalArgumentException
Description copied from class: RequestArguments.Argument
Override this method to provide parsing of the input string to the Java expected value. The input is guaranteed to be non-empty when this method is called and all prerequisities are guaranteed to be valid before this method is called.

Specified by:
parse in class RequestArguments.Argument<Parse.PSetup>
Throws:
java.lang.IllegalArgumentException

queryComment

public java.lang.String queryComment()
Overrides:
queryComment in class RequestArguments.Argument<Parse.PSetup>

defaultValue

protected Parse.PSetup defaultValue()
Description copied from class: RequestArguments.Argument
Returns the default value of the argument. Note that the method will be called also on required arguments, in which case it is ok return null. It is kept abstract because defining a proper default value might be tricky and in many case you do not want it to be null. Overriding it always makes you think:)

Specified by:
defaultValue in class RequestArguments.Argument<Parse.PSetup>

queryDescription

protected java.lang.String queryDescription()
Description copied from class: RequestArguments.Argument
Returns the query description. This is a concise description of a correct value for the argument. generally used as a placeholder in the html query elements.

Specified by:
queryDescription in class RequestArguments.Argument<Parse.PSetup>