net.sourceforge.nite.meta
Interface NCallableProgram.Argument

All Known Implementing Classes:
NiteCallableProgram.Argument
Enclosing interface:
NCallableProgram

public static interface NCallableProgram.Argument


Field Summary
static int ANNOTATOR_NAME
           
static int CORPUS_NAME
           
static int OBSERVATION_NAME
           
static int UNKNOWN
           
 
Method Summary
 java.lang.String getDefaultValue()
          get the default value if one is available
 java.lang.String getFlagName()
          get the flag for this argument should not include the '-'
 int getType()
          get the type of the argument - returns CORPUS_NAME, OBSERVATION_NAME or ANNOTATOR_NAME if that is listed in the metadata, or UNKNOWN if not.
 

Field Detail

UNKNOWN

static final int UNKNOWN
See Also:
Constant Field Values

CORPUS_NAME

static final int CORPUS_NAME
See Also:
Constant Field Values

OBSERVATION_NAME

static final int OBSERVATION_NAME
See Also:
Constant Field Values

ANNOTATOR_NAME

static final int ANNOTATOR_NAME
See Also:
Constant Field Values
Method Detail

getFlagName

java.lang.String getFlagName()
get the flag for this argument should not include the '-'


getDefaultValue

java.lang.String getDefaultValue()
get the default value if one is available


getType

int getType()
get the type of the argument - returns CORPUS_NAME, OBSERVATION_NAME or ANNOTATOR_NAME if that is listed in the metadata, or UNKNOWN if not.