| org.cougaar.planning.ldm.policy.RuleParameter
All known Subclasses: org.cougaar.planning.ldm.policy.StringRuleParameter, org.cougaar.planning.ldm.policy.IntegerRuleParameter, org.cougaar.planning.ldm.policy.PredicateRuleParameter, org.cougaar.planning.ldm.policy.KeyRuleParameter, org.cougaar.planning.ldm.policy.LongRuleParameter, org.cougaar.planning.ldm.policy.RangeRuleParameter, org.cougaar.planning.ldm.policy.EnumerationRuleParameter, org.cougaar.planning.ldm.policy.BooleanRuleParameter, org.cougaar.planning.ldm.policy.DoubleRuleParameter, org.cougaar.planning.ldm.policy.ClassRuleParameter,
RuleParameter | public interface RuleParameter extends Cloneable(Code) | | A RuleParameter is generic object containing a parameter value
Values may be one of several types:
INTEGER - Integer value type (within given bounds)
DOUBLE - Double value type (within given bounds)
STRING - String value type
LONG - Long value type (within given bounds)
ENUMERATION - Enumeration value type (String from given list)
BOOLEAN - Boolean value type
CLASS - Java class value type (implementing given interface)
KEY - Set of String values (with default) indexed off a key
RANGE - Set of values (String or RuleParameter) (with default) indexed
from a list of integer ranges
|
BOOLEAN_PARAMETER | int BOOLEAN_PARAMETER(Code) | | |
CLASS_PARAMETER | int CLASS_PARAMETER(Code) | | |
DOUBLE_PARAMETER | int DOUBLE_PARAMETER(Code) | | |
ENUMERATION_PARAMETER | int ENUMERATION_PARAMETER(Code) | | |
INTEGER_PARAMETER | int INTEGER_PARAMETER(Code) | | Define list of constant parameter types:
|
KEY_PARAMETER | int KEY_PARAMETER(Code) | | |
LONG_PARAMETER | int LONG_PARAMETER(Code) | | |
PREDICATE_PARAMETER | int PREDICATE_PARAMETER(Code) | | |
RANGE_PARAMETER | int RANGE_PARAMETER(Code) | | |
STRING_PARAMETER | int STRING_PARAMETER(Code) | | |
ParameterType | int ParameterType()(Code) | | Type of given parameter
int type of given parameter |
getValue | Object getValue()(Code) | | Get parameter object value for parameter
Object with given parameter value. Note : could be null. |
inRange | boolean inRange(Object test_object)(Code) | | Test the value to see if it is valid.
Parameters: test_object - - the value to be tested true if the test_object is within the allowable range, falseotherwise. |
|
|