Modifier and Type | Field and Description |
---|---|
private Meta |
metaob
A Stata Metadata object
|
private java.lang.Long |
obid
Observation ID variable
|
private java.lang.Double[] |
observation
Variable containing the data for a given observation
|
Constructor and Description |
---|
DataRecordDoubleArray(java.lang.Integer id,
Meta metaobject)
Constructor method for DataRecordDoubleArray class
|
DataRecordDoubleArray(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
Constructor for use with Stata 13 API
|
DataRecordDoubleArray(java.lang.Long id,
Meta metaobject)
Constructor method for DataRecordDoubleArray class
|
DataRecordDoubleArray(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
Constructor method for DataRecordDoubleArray class
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double[] |
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.Double> |
toList()
Method to retrieve the data as a List object
|
private Meta metaob
private java.lang.Long obid
private java.lang.Double[] observation
public DataRecordDoubleArray(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 DataRecordDoubleArray(java.lang.Integer 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 DataRecordDoubleArray(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 DataRecordDoubleArray(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.Double[] getData()
public java.util.List<java.lang.Double> toList()