| Modifier and Type | Field and Description |
|---|---|
private Meta |
metaob
A Stata Metadata object
|
private java.lang.Long |
obid
Observation ID variable
|
private java.lang.Long[] |
observation
Variable containing the data for a given observation
|
| Constructor and Description |
|---|
DataRecordLongArray(java.lang.Integer id,
Meta metaobject)
Constructor for use with Stata 13 API
|
DataRecordLongArray(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
Constructor for use with Stata 13 API
|
DataRecordLongArray(java.lang.Long id,
Meta metaobject)
Constructor method for DataRecordLongArray class
|
DataRecordLongArray(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
Constructor method for DataRecordLongArray class
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getData()
Retrieves the data for a given record
|
void |
setData(java.lang.Integer obid)
Constructs the object containing the data for the record
|
void |
setData(java.lang.Long obid)
Constructs the object containing the data for the record
|
void |
setData(java.lang.Number obid,
java.lang.Number missingValue)
Method to construct row object with user specified missing value
override
|
void |
setObid(java.lang.Integer observationNumber)
Method to set the observation index value for the record
|
void |
setObid(java.lang.Long observationNumber)
Method to set the observation index value for the record
|
java.util.List<java.lang.Long> |
toList()
Method to retrieve the data as a List of Long objects
|
private Meta metaob
private java.lang.Long obid
private java.lang.Long[] observation
public DataRecordLongArray(java.lang.Long id,
Meta metaobject)
id - The observation index value for which to retrieve the data formetaobject - A Meta class object containing metadata from the
Stata datasetpublic DataRecordLongArray(java.lang.Integer id,
Meta metaobject)
id - An Integer observation IDmetaobject - The Meta object from which the data are accessedpublic DataRecordLongArray(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
id - An Integer observation IDmetaobject - The Meta object from which the data are accessedmissingValue - User specified default missing valuepublic DataRecordLongArray(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
id - The observation index value for which to retrieve the data formetaobject - A Meta class object containing metadata from the
Stata datasetmissingValue - User specified default missing valuepublic void setObid(java.lang.Long observationNumber)
public void setObid(java.lang.Integer observationNumber)
public void setData(java.lang.Long obid)
public void setData(java.lang.Integer obid)
public void setData(java.lang.Number obid,
java.lang.Number missingValue)
public java.lang.Long[] getData()
public java.util.List<java.lang.Long> toList()