public class VariableOperandDescriptor extends OperandDescriptor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CNAME |
| Constructor and Description |
|---|
VariableOperandDescriptor(java.lang.String name,
java.lang.String type,
java.lang.String desc,
int min,
int max)
Constructs a Variable OperandDescriptor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMax()
Retrieves the max value
|
int |
getMin()
Retrieves the min value
|
java.lang.String |
toString()
Returns a string representation of this object
|
getDescription, getName, getTypepublic VariableOperandDescriptor(java.lang.String name,
java.lang.String type,
java.lang.String desc,
int min,
int max)
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 operandsjava.lang.IllegalArgumentException - if any of the arguments are nulljava.lang.IllegalArgumentException - if negative numbers are used for min/maxjava.lang.IllegalArgumentException - if min>maxpublic int getMin()
public int getMax()
public java.lang.String toString()
toString in class OperandDescriptorCopyright © 2000-2024 Cloud Software Group, Inc. All Rights Reserved.