public class VariableDescriptor extends MetaInfo
Should be stored in the user data field of node variable object.
Constructor and Description |
---|
VariableDescriptor(VariableType variableType)
Constructs object with the specified variable type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ru.ispras.fortress.expression.Node |
getAscending()
Returns "'ascending" field value.
|
ru.ispras.fortress.data.DataType |
getBase()
Returns "'base" field value.
|
ru.ispras.fortress.expression.Node |
getHigh()
Returns "'high" attribute value.
|
ru.ispras.fortress.expression.Node |
getLeft()
Returns "'left" attribute value.
|
ru.ispras.fortress.expression.Node |
getLength()
Returns "'length" field value.
|
ru.ispras.fortress.expression.Node |
getLow()
Returns "'low" attribute value.
|
Range |
getRange()
Returns "'range" field value.
|
Range |
getReverseRange()
Returns "'reverse_range" field value.
|
ru.ispras.fortress.expression.Node |
getRight()
Returns "'right" attribute value.
|
VariableType |
getVariableType()
Returns variable type.
|
int |
hashCode() |
void |
setAscending(ru.ispras.fortress.expression.Node ascending)
Sets the specified value to the non-initialized ascending field.
|
void |
setBase(ru.ispras.fortress.data.DataType base)
Sets the specified value to the non-initialized base field.
|
void |
setHigh(ru.ispras.fortress.expression.Node high)
Sets the specified value to the non-initialized high field.
|
void |
setLeft(ru.ispras.fortress.expression.Node left)
Sets the specified value to the non-initialized left field.
|
void |
setLength(ru.ispras.fortress.expression.Node length)
Sets the specified value to the non-initialized length field.
|
void |
setLow(ru.ispras.fortress.expression.Node low)
Sets the specified value to the non-initialized low field.
|
void |
setRange(Range range)
Sets the specified value to the non-initialized range field.
|
void |
setReverseRange(Range reverseRange)
Sets the specified value to the non-initialized reverse_range field.
|
void |
setRight(ru.ispras.fortress.expression.Node right)
Sets the specified value to the non-initialized right field.
|
addMetaInfo, addMetaInfo, addMetaInfo, addMetaInfo, getMetaInfo, getMetaInfo, getMetaInfo, hasMetaInfo, hasMetaInfo, removeMetaInfo
public VariableDescriptor(VariableType variableType)
variableType
- Variable type.java.lang.IllegalArgumentException
- when argument is null
.public VariableType getVariableType()
public ru.ispras.fortress.expression.Node getLeft()
public void setLeft(ru.ispras.fortress.expression.Node left)
left
- Value to bet set to left field.RetrascopeRuntimeException
- when left field is already set to another value.public ru.ispras.fortress.expression.Node getRight()
public void setRight(ru.ispras.fortress.expression.Node right)
right
- Value to bet set to right field.RetrascopeRuntimeException
- when right field is already set to another value.public ru.ispras.fortress.expression.Node getLow()
public void setLow(ru.ispras.fortress.expression.Node low)
low
- Value to bet set to low field.RetrascopeRuntimeException
- when low field is already set to another value.public ru.ispras.fortress.expression.Node getHigh()
public void setHigh(ru.ispras.fortress.expression.Node high)
high
- Value to bet set to high field.RetrascopeRuntimeException
- when high field is already set to another value.public ru.ispras.fortress.expression.Node getAscending()
public void setAscending(ru.ispras.fortress.expression.Node ascending)
ascending
- Value to bet set to ascending field.RetrascopeRuntimeException
- when ascending field is already set to another value.public ru.ispras.fortress.data.DataType getBase()
public void setBase(ru.ispras.fortress.data.DataType base)
base
- Value to bet set to base field.RetrascopeRuntimeException
- when base field is already set to another value.public Range getRange()
public void setRange(Range range)
range
- Value to bet set to range field.RetrascopeRuntimeException
- when range field is already set to another value.public Range getReverseRange()
public void setReverseRange(Range reverseRange)
reverseRange
- Value to bet set to reverse_range field.RetrascopeRuntimeException
- when reverse_range field is already set to another value.public ru.ispras.fortress.expression.Node getLength()
public void setLength(ru.ispras.fortress.expression.Node length)
length
- Value to bet set to length field.RetrascopeRuntimeException
- when length field is already set to another value.