| |
|
| java.lang.Object org.cougaar.planning.ldm.policy.EnumerationRuleParameter
EnumerationRuleParameter | public class EnumerationRuleParameter implements RuleParameter,java.io.Serializable(Code) | | An EnumerationRuleParameter is a RuleParameter with specified/protected
string selections that returns a string
|
EnumerationRuleParameter | public EnumerationRuleParameter(String param_name, String[] enums)(Code) | | Constructor sets min/max values and establishes value as not set
|
EnumerationRuleParameter | public EnumerationRuleParameter(String param_name)(Code) | | |
EnumerationRuleParameter | public EnumerationRuleParameter()(Code) | | |
ParameterType | public int ParameterType()(Code) | | Parameter type is ENUMERATION
|
Test | public static void Test()(Code) | | |
getValue | public Object getValue()(Code) | | Get parameter value (String)
Object parameter value (String). Note : could be null. |
inRange | public boolean inRange(Object test_value)(Code) | | Parameters: test_value - : must be String true if Object is a String in the enumeration, false otherwise |
setEnumeration | public void setEnumeration(String[] enums)(Code) | | |
|
|
|