public class StringDataColumn
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
colvar
A List of String values from a single variable
|
Meta |
metaob
A Meta class object contains meta data for the dataset in memory
|
private java.lang.Integer |
ver |
Constructor and Description |
---|
StringDataColumn(java.lang.Integer varidx)
Generic constructor for the class
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getData()
Getter method to retrieve the List class object containing values
|
java.lang.String[] |
getDataAsArray()
Getter method to retrieve the List class object containing values and
convert it to a String array
|
void |
setData(int var)
Setter method used to retrieve the data from Stata and populate the
member variable
|
public Meta metaob
public java.util.List<java.lang.String> colvar
private final java.lang.Integer ver
public StringDataColumn(java.lang.Integer varidx)
varidx
- The variable index from which to get recordspublic void setData(int var)
var
- The variable index to retrievepublic java.util.List<java.lang.String> getData()
public java.lang.String[] getDataAsArray()