public class Variable
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Variable(int varNumber) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVariableName(int varIndex) |
java.lang.String[] |
getVariableNames()
Gets the names of the variables.
|
VariableOrientation |
getVariableOrientation(int varIndex)
Gets the orientation of a specific variable.
|
VariableOrientation[] |
getVariableOrientations()
Gets the variables orientation.
|
VariableType |
getVariableType(int varIndex)
Gets the variable type of a specific variable.
|
java.lang.String |
getVariableTypeDescription(int varIndex)
Gets the description of a VariableType for a specific variable.
|
java.lang.String |
getVariableTypeName(int varIndex)
Gets the name of a VariableType for a specific variable.
|
VariableType[] |
getVariableTypes()
Gets the variable types for all the variables.
|
void |
setVariableName(int varIndex,
java.lang.String varName)
Sets the name of a Variable.
|
void |
setVariableNames(java.lang.String[] varNames)
Sets the Variable Names.
|
void |
setVariableOrientation(int varIndex,
VariableOrientation varOrientation)
Sets the orientation of a specific variable.
|
void |
setVariableOrientations(VariableOrientation[] varOrientations)
Sets the orientations of the variables (e.g.
|
void |
setVariableType(int varIndex,
VariableType varType)
Sets the variable type for a specific variable.
|
void |
setVariableTypes(VariableType[] varTypes)
Sets the types for all the variables (e.g.
|
public void setVariableNames(java.lang.String[] varNames)
varNames
- The Variable Names.public void setVariableName(int varIndex, java.lang.String varName) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the Variable to set the name for.varName
- The Variable Name.java.lang.IndexOutOfBoundsException
public java.lang.String[] getVariableNames()
public java.lang.String getVariableName(int varIndex) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public void setVariableOrientations(VariableOrientation[] varOrientations)
varOrientations
- The variable orientation.public void setVariableOrientation(int varIndex, VariableOrientation varOrientation) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to set the orientation for.varOrientation
- the orientation of the variable.java.lang.IndexOutOfBoundsException
public VariableOrientation[] getVariableOrientations()
public VariableOrientation getVariableOrientation(int varIndex) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to get the orientation of.java.lang.IndexOutOfBoundsException
public void setVariableTypes(VariableType[] varTypes)
varTypes
- The Types of all variables.public void setVariableType(int varIndex, VariableType varType) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to set the variable type to.varType
- The type of variable.java.lang.IndexOutOfBoundsException
public VariableType[] getVariableTypes()
public VariableType getVariableType(int varIndex) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to get the Type of.java.lang.IndexOutOfBoundsException
public java.lang.String getVariableTypeName(int varIndex) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to get the VariableType name of.java.lang.IndexOutOfBoundsException
public java.lang.String getVariableTypeDescription(int varIndex) throws java.lang.IndexOutOfBoundsException
varIndex
- The index of the variable to get the VariableType description of.java.lang.IndexOutOfBoundsException