| java.lang.Object org.cougaar.lib.param.Param
All known Subclasses: org.cougaar.lib.param.DoubleParam, org.cougaar.lib.param.ShortParam, org.cougaar.lib.param.StringParam, org.cougaar.lib.param.FloatParam, org.cougaar.lib.param.BooleanParam, org.cougaar.lib.param.LongParam, org.cougaar.lib.param.IntParam,
Param | public class Param (Code) | | Base class that encapsulates a simple parameter. A parameter is
is a [name, type, value] triplet. This class encapsulates both
the name and the type information. The value of the
parameter is not specified since values may be of different types.
Extend this class and redefine the appropiate getXXXValue() routine
to add the value of the parameter.
|
Param | Param(String n, String t)(Code) | | Constructor
Parameters: n - name of the parameter Parameters: t - type of the parameter |
getBooleanValue | boolean getBooleanValue() throws ParamException(Code) | | Get accessor for the boolean value of a parameter.
Override if needed.
the boolean value of the parameter. |
getDoubleValue | double getDoubleValue() throws ParamException(Code) | | Get accessor for the double value of a parameter.
Override if needed.
the double value of the parameter. |
getFloatValue | float getFloatValue() throws ParamException(Code) | | Get accessor for the float value of a parameter.
Override if needed.
the float value of the parameter. |
getIntValue | int getIntValue() throws ParamException(Code) | | Get accessor for the int value of a parameter.
Override if needed.
the int value of the parameter. |
getLongValue | long getLongValue() throws ParamException(Code) | | Get accessor for the long value of a parameter.
Override if needed.
the long value of the parameter. |
getName | public String getName()(Code) | | Get accessor for the name of a parameter
the name of the parameter. |
getShortValue | short getShortValue() throws ParamException(Code) | | Get accessor for the short value of a parameter.
Override if needed.
the short value of the parameter. |
getStringValue | public String getStringValue() throws ParamException(Code) | | Get accessor for the String value of a parameter.
Override if needed.
public because LdmXMLPlugin just wants to read from params from
ini file.
the String value of the parameter. |
getType | String getType()(Code) | | Get accessor the the type of a parameter
the type of the parameter |
|
|