public class CreateVariableDesc extends Object implements MetaDefItem, Serializable
Constructor and Description |
---|
CreateVariableDesc(String variableType,
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
|
String |
getVariableName()
Returns the variable name
|
String |
getVariableType()
Returns the variable type.
|
boolean |
isArray() |
boolean |
isArrayOfPrimitive() |
boolean |
isConstant() |
void |
setArrayOfPrimitive(boolean arrayOfPrimitive) |
public CreateVariableDesc(String variableType, 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 String getVariableType()
public String getVariableName()
public ExprNode getAssignment()
public boolean isConstant()
public boolean isArray()
public boolean isArrayOfPrimitive()
public void setArrayOfPrimitive(boolean arrayOfPrimitive)