|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.soaplab.services.metadata.ParamDef
public class ParamDef
A general class defining a parameter for an analysis tool.
Field Summary | |
---|---|
static int |
BASE_PARAMETER
|
static int |
CHOICE_LIST_PARAMETER
|
static int |
CHOICE_PARAMETER
|
CondDef[] |
conds
|
int |
createdFor
|
java.lang.String |
dflt
|
static java.lang.String |
ENVAR
|
static java.lang.String |
FALSEVALUE
|
java.lang.String |
id
|
static int |
IO_PARAMETER
|
static java.lang.String |
MANDATORY
|
static java.lang.String |
METHOD
|
static java.lang.String |
NODISPLAY
|
PropertiesBag |
options
|
static java.lang.String |
ORDERING
|
static int |
RANGE_PARAMETER
|
static java.lang.String |
READONLY
|
static java.lang.String |
SEPARATOR
|
static java.lang.String |
SERVER_CLASS
|
static int |
STANDARD_PARAMETER
|
static java.lang.String |
TAG
|
static java.lang.String |
TAGSEPAR
|
static java.lang.String |
TRUEVALUE
|
java.lang.String |
type
|
static java.lang.String |
USE_DEFAULTS
|
Constructor Summary | |
---|---|
ParamDef()
Constructor |
Method Summary | |
---|---|
void |
add(PropertiesBag newOptions)
|
boolean |
canBeRepeatable()
This method does nothing much here but it's supposed to be overritten. |
boolean |
exists(java.lang.String key)
|
java.lang.String |
format(int indent)
As toString() but with indentations. |
java.lang.String |
get(java.lang.String key)
|
java.lang.String |
get(java.lang.String key,
int serNo)
Several extensions to the convenience methods accessing 'options'. |
int |
getInt(java.lang.String key)
|
int |
getInt(java.lang.String key,
int serNo)
|
boolean |
is(java.lang.String key)
Convenient methods for accessing 'options' |
boolean |
is(java.lang.String key,
int serNo)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG
public static final java.lang.String METHOD
public static final java.lang.String MANDATORY
public static final java.lang.String TAGSEPAR
public static final java.lang.String USE_DEFAULTS
public static final java.lang.String NODISPLAY
public static final java.lang.String READONLY
public static final java.lang.String SERVER_CLASS
public static final java.lang.String ENVAR
public static final java.lang.String SEPARATOR
public static final java.lang.String ORDERING
public static final java.lang.String TRUEVALUE
public static final java.lang.String FALSEVALUE
public static final int BASE_PARAMETER
public static final int STANDARD_PARAMETER
public static final int RANGE_PARAMETER
public static final int IO_PARAMETER
public static final int CHOICE_PARAMETER
public static final int CHOICE_LIST_PARAMETER
public java.lang.String id
public java.lang.String type
public java.lang.String dflt
public CondDef[] conds
public PropertiesBag options
public int createdFor
Constructor Detail |
---|
public ParamDef()
Method Detail |
---|
public boolean is(java.lang.String key)
public boolean is(java.lang.String key, int serNo)
public boolean exists(java.lang.String key)
public java.lang.String get(java.lang.String key)
public int getInt(java.lang.String key)
public void add(PropertiesBag newOptions)
public java.lang.String get(java.lang.String key, int serNo)
For example, you can look for 'size1' by calling get ('size', 1).
public int getInt(java.lang.String key, int serNo)
public boolean canBeRepeatable()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String format(int indent)
|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |