public class CreateVariableDesc extends java.lang.Object implements MetaDefItem, java.io.Serializable
Constructor and Description |
---|
CreateVariableDesc(java.lang.String variableType,
java.lang.String variableName,
ExprNode assignment,
boolean constant,
boolean array,
boolean arrayOfPrimitive)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ExprNode |
getAssignment()
Returns the assignment expression, or null if none
|
java.lang.String |
getVariableName()
Returns the variable name
|
java.lang.String |
getVariableType()
Returns the variable type.
|
boolean |
isArray() |
boolean |
isArrayOfPrimitive() |
boolean |
isConstant() |
void |
setArrayOfPrimitive(boolean arrayOfPrimitive) |
public CreateVariableDesc(java.lang.String variableType, java.lang.String variableName, ExprNode assignment, boolean constant, boolean array, boolean arrayOfPrimitive)
variableType
- type of the variablevariableName
- name of the variableassignment
- expression assigning the initial value, or null if noneconstant
- indicator for constantarray
- indicator for arrayarrayOfPrimitive
- indicator for array of primitivepublic java.lang.String getVariableType()
public java.lang.String getVariableName()
public ExprNode getAssignment()
public boolean isConstant()
public boolean isArray()
public boolean isArrayOfPrimitive()
public void setArrayOfPrimitive(boolean arrayOfPrimitive)