| java.lang.Object org.cougaar.planning.ldm.policy.IntegerRuleParameter
IntegerRuleParameter | public class IntegerRuleParameter implements RuleParameter,java.io.Serializable(Code) | | An IntegerRuleParameter is a RuleParameter with specified/protected
integer bounds that returns an Integer
|
my_max | protected int my_max(Code) | | |
my_min | protected int my_min(Code) | | |
IntegerRuleParameter | public IntegerRuleParameter(String param_name, int min, int max)(Code) | | |
IntegerRuleParameter | public IntegerRuleParameter(String param_name)(Code) | | |
IntegerRuleParameter | public IntegerRuleParameter()(Code) | | |
ParameterType | public int ParameterType()(Code) | | Parameter type is INTEGER
|
Test | public static void Test()(Code) | | |
getLowerBound | public int getLowerBound()(Code) | | |
getMax | public int getMax()(Code) | | |
getMin | public int getMin()(Code) | | |
getUpperBound | public int getUpperBound()(Code) | | |
getValue | public Object getValue()(Code) | | Get parameter value (Integer)
Object parameter value (Integer). Note : could be null. |
inRange | public boolean inRange(Object test_value)(Code) | | Parameters: test_value - : must be Integer true if test_value is within the acceptable range |
intValue | public int intValue()(Code) | | |
setBounds | public void setBounds(int min, int max)(Code) | | |
setMax | public void setMax(int max)(Code) | | |
setMin | public void setMin(int min)(Code) | | |
|
|