public final class VariableDefinition extends Object
| Constructor and Description |
|---|
VariableDefinition()
Initializes a new instance of the
VariableDefinition class. |
VariableDefinition(String dataColumn,
String name,
VariableValueType valueType)
Initializes a new instance of the
VariableDefinition class. |
VariableDefinition(String dataColumn,
String name,
VariableValueType valueType,
StateValueType stateValueType)
Initializes a new instance of the
VariableDefinition class. |
VariableDefinition(String dataColumn,
String name,
VariableValueType valueType,
StateValueType stateValueType,
VariableKind kind)
Initializes a new instance of the
VariableDefinition class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataColumn()
The name of the data column, containing the data used to generate the new variable.
|
DiscretizationMethod |
getDiscretizationMethod()
Gets the method (algorithm) to use for discretization, if any.
|
DiscretizationOptions |
getDiscretizationOptions()
Gets options that specify how continuous data should be discretized, if
DiscretizationMethod is not DiscretizationMethod.NONE. |
EmptyStringAction |
getEmptyStringAction()
Determines the action to take if an empty string is encountered.
|
VariableKind |
getKind()
Gets the
VariableKind for the new variable. |
String |
getName()
Gets the name for the new variable.
|
SortOrder |
getSortOrder()
Gets the sort order for states of a new discrete variable.
|
StateValueType |
getStateValueType()
Gets the
StateValueType for the new variable. |
VariableValueType |
getValueType()
Gets the
VariableValueType for the new variable. |
void |
setDataColumn(String value)
The name of the data column, containing the data used to generate the new variable.
|
void |
setDiscretizationMethod(DiscretizationMethod value)
Sets the method (algorithm) to use for discretization, if any.
|
void |
setEmptyStringAction(EmptyStringAction value)
Determines the action to take if an empty string is encountered.
|
void |
setKind(VariableKind value)
Sets the
VariableKind for the new variable. |
void |
setName(String value)
Sets the name for the new variable.
|
void |
setSortOrder(SortOrder value)
Sets the sort order for states of a new discrete variable.
|
void |
setStateValueType(StateValueType value)
Sets the
StateValueType for the new variable. |
void |
setValueType(VariableValueType value)
Sets the
VariableValueType for the new variable. |
public VariableDefinition()
VariableDefinition class.public VariableDefinition(String dataColumn, String name, VariableValueType valueType)
VariableDefinition class.dataColumn - The data column.name - The name for the new variable.valueType - The VariableValueType for the new variable, or null if this should be detected automatically.public VariableDefinition(String dataColumn, String name, VariableValueType valueType, StateValueType stateValueType)
VariableDefinition class.dataColumn - The data column.name - The name for the new variable.valueType - The VariableValueType for the new variable, or null if this should be detected automatically.stateValueType - The StateValueType for the new variable, or null if this should be detected automatically.public VariableDefinition(String dataColumn, String name, VariableValueType valueType, StateValueType stateValueType, VariableKind kind)
VariableDefinition class.dataColumn - The data column.name - The name for the new variable.valueType - The VariableValueType for the new variable, or null if this should be detected automatically.stateValueType - The StateValueType for the new variable, or null if this should be detected automatically.kind - The VariableKind for the new variable.public EmptyStringAction getEmptyStringAction()
public void setEmptyStringAction(EmptyStringAction value)
public DiscretizationMethod getDiscretizationMethod()
public void setDiscretizationMethod(DiscretizationMethod value)
public DiscretizationOptions getDiscretizationOptions()
DiscretizationMethod is not DiscretizationMethod.NONE.public SortOrder getSortOrder()
StateValueType is not StateValueType.NONE, whether specified or auto detected.public void setSortOrder(SortOrder value)
StateValueType is not StateValueType.NONE, whether specified or auto detected.public String getName()
public void setName(String value)
public VariableValueType getValueType()
VariableValueType for the new variable. If null, the VariableValueType will be detected automatically.public void setValueType(VariableValueType value)
VariableValueType for the new variable. If null, the VariableValueType will be detected automatically.public StateValueType getStateValueType()
StateValueType for the new variable. If null, the StateValueType will be detected automatically.public void setStateValueType(StateValueType value)
StateValueType for the new variable. If null, the StateValueType will be detected automatically.public VariableKind getKind()
VariableKind for the new variable.public void setKind(VariableKind value)
VariableKind for the new variable.public String getDataColumn()
public void setDataColumn(String value)
Copyright © 2021. All rights reserved.