COM.TIBCO.hawk.config.rbengine.rulebase
Class VariableOperandDescriptor
java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
COM.TIBCO.hawk.config.rbengine.rulebase.VariableOperandDescriptor
public class VariableOperandDescriptor
- extends OperandDescriptor
Used to describe variable list operands.
|
Field Summary |
static java.lang.String |
CNAME
|
|
Constructor Summary |
VariableOperandDescriptor(java.lang.String name,
java.lang.String type,
java.lang.String desc,
int min,
int max)
Constructs a Variable OperandDescriptor |
|
Method Summary |
int |
getMax()
Retrieves the max value |
int |
getMin()
Retrieves the min value |
java.lang.String |
toString()
Returns a string representation of this object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CNAME
public static java.lang.String CNAME
VariableOperandDescriptor
public VariableOperandDescriptor(java.lang.String name,
java.lang.String type,
java.lang.String desc,
int min,
int max)
- Constructs a Variable OperandDescriptor
- Parameters:
name - the name of the operandtype - the fully quallified classname of the operand's typedesc - a description of the operand's purposemin - the minimum number of required variable operandsmax - the maximum number of required variable operands
- Throws:
java.lang.IllegalArgumentException - if any of the arguments are null
java.lang.IllegalArgumentException - if negative numbers are used for min/max
java.lang.IllegalArgumentException - if min>max
getMin
public int getMin()
- Retrieves the min value
getMax
public int getMax()
- Retrieves the max value
toString
public java.lang.String toString()
- Returns a string representation of this object
- Overrides:
toString in class OperandDescriptor
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.