| Constructor and Description | 
|---|
VariableReference(Variable variable,
                 ColumnValueType columnValueType,
                 String column)
Initializes a new instance of the  
VariableReference class. | 
VariableReference(Variable variable,
                 ColumnValueType columnValueType,
                 String column,
                 StateNotFoundAction stateNotFoundAction)
Initializes a new instance of the  
VariableReference class. | 
VariableReference(Variable variable,
                 ColumnValueType columnValueType,
                 String column,
                 StateNotFoundAction stateNotFoundAction,
                 EmptyStringAction emptyStringAction)
Initializes a new instance of the  
VariableReference class. | 
| Modifier and Type | Method and Description | 
|---|---|
VariableReference | 
copy(Variable newVariable)
Creates a copy of this instance, but based on a different variable. 
 | 
String | 
getColumn()
Gets the name of the relevant column in the data source. 
 | 
ColumnValueType | 
getColumnValueType()
Gets the type of value in the bound data column. 
 | 
EmptyStringAction | 
getEmptyStringAction()
Determines the action to take if an empty string is encountered. 
 | 
StateNotFoundAction | 
getStateNotFoundAction()
Determines the action to take if the name or value from the data cannot be matched to a particular state for this reference variable. 
 | 
Variable | 
getVariable()
Gets the variable. 
 | 
public VariableReference(Variable variable, ColumnValueType columnValueType, String column)
VariableReference class.variable - The variable.columnValueType - The type of column to bind to.column - The name of the column in the data source.public VariableReference(Variable variable, ColumnValueType columnValueType, String column, StateNotFoundAction stateNotFoundAction)
VariableReference class.variable - The variable.columnValueType - The type of column to bind to.column - The name of the column in the data source.stateNotFoundAction - The action to take if a state name/value cannot be mapped to a state.public VariableReference(Variable variable, ColumnValueType columnValueType, String column, StateNotFoundAction stateNotFoundAction, EmptyStringAction emptyStringAction)
VariableReference class.variable - The variable.columnValueType - The type of column to bind to.column - The name of the column in the data source.stateNotFoundAction - The action to take if a state name/value cannot be mapped to a state.emptyStringAction - The action to take if an empty string is detected.public VariableReference copy(Variable newVariable)
newVariable - The new variable to reference.public StateNotFoundAction getStateNotFoundAction()
public EmptyStringAction getEmptyStringAction()
public String getColumn()
public ColumnValueType getColumnValueType()
public Variable getVariable()
Copyright © 2021. All rights reserved.