COM.TIBCO.hawk.config.rbengine.rulebase
Class VariableOperandDescriptor

java.lang.Object
  extended by COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
      extended by 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 COM.TIBCO.hawk.config.rbengine.rulebase.OperandDescriptor
getDescription, getName, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CNAME

public static java.lang.String CNAME
Constructor Detail

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 operand
type - the fully quallified classname of the operand's type
desc - a description of the operand's purpose
min - the minimum number of required variable operands
max - 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
Method Detail

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.