Version: ${maven.project.version}

org.soaplab.services.metadata
Class ChoiceParamDef

java.lang.Object
  extended by org.soaplab.services.metadata.ParamDef
      extended by org.soaplab.services.metadata.ChoiceParamDef

public class ChoiceParamDef
extends ParamDef

A data structure defining a 'boolean' or 'radio-group' parameter.

Version:
$Id: ChoiceParamDef.java,v 1.2 2007/04/19 22:17:06 marsenger Exp $
Author:
Martin Senger

Field Summary
 ParamDef[] bools
           
 int choiceType
           
static int JUST_ONE
          Types of radiogroups (grouping together several boolean options).
static int ONE_OR_MORE
           
static int ZERO_OR_MORE
           
static int ZERO_OR_ONE
           
 
Fields inherited from class org.soaplab.services.metadata.ParamDef
BASE_PARAMETER, CHOICE_LIST_PARAMETER, CHOICE_PARAMETER, conds, createdFor, dflt, ENVAR, FALSEVALUE, id, IO_PARAMETER, MANDATORY, METHOD, NODISPLAY, options, ORDERING, RANGE_PARAMETER, READONLY, SEPARATOR, SERVER_CLASS, STANDARD_PARAMETER, TAG, TAGSEPAR, TRUEVALUE, type, USE_DEFAULTS
 
Constructor Summary
ChoiceParamDef()
           
 
Method Summary
 java.lang.String format(int indent)
          As toString() with but indentations.
 java.lang.String toString()
           
 
Methods inherited from class org.soaplab.services.metadata.ParamDef
add, canBeRepeatable, exists, get, get, getInt, getInt, is, is
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JUST_ONE

public static final int JUST_ONE
Types of radiogroups (grouping together several boolean options). It says how many options can be visible in the same time.

See Also:
Constant Field Values

ZERO_OR_ONE

public static final int ZERO_OR_ONE
See Also:
Constant Field Values

ZERO_OR_MORE

public static final int ZERO_OR_MORE
See Also:
Constant Field Values

ONE_OR_MORE

public static final int ONE_OR_MORE
See Also:
Constant Field Values

choiceType

public int choiceType

bools

public ParamDef[] bools
Constructor Detail

ChoiceParamDef

public ChoiceParamDef()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ParamDef

format

public java.lang.String format(int indent)
As toString() with but indentations.

Overrides:
format in class ParamDef

Version: ${maven.project.version}

Submit a bug or feature
Generated: Tue Jun 14 15:18:14 AST 2011