Modifier and Type | Field and Description |
---|---|
Meta |
metaob
A Stata Metadata object
|
private java.lang.String |
name
A Name property.
|
private java.lang.Long |
obid
Observation ID variable
|
private java.util.Map<java.lang.String,java.lang.Object> |
observation
Variable containing the data for a given observation
|
private java.lang.String |
source
A member variable containing the name of the file from which data are
accessed
|
private Variables |
vars
An instance of a Variables object
|
Constructor and Description |
---|
DataRecord(java.lang.Integer id,
Meta metaobject)
Constructor method for DataRecord class
|
DataRecord(java.lang.Integer id,
Meta metaobject,
java.lang.Number missingValue)
Constructor method for DataRecord class
|
DataRecord(java.lang.Long id,
Meta metaobject)
Constructor method for DataRecord class
|
DataRecord(java.lang.Long id,
Meta metaobject,
java.lang.Number missingValue)
Constructor method for DataRecord class
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getData()
Getter method to retrieve the data variable from the object
|
java.lang.String |
getName()
Method to access the name
|
java.lang.Long |
getObid()
Method to access the observation ID member variable
|
void |
setData(java.lang.Integer obid)
Method to get an individual record for a given observation index
variable index member variable
|
void |
setData(java.lang.Long obid)
Method to get an individual record for a given observation index
variable index member variable
|
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)
Setter method for the observation ID variable
|
void |
setObid(java.lang.Long observationNumber)
Setter method for the observation ID variable
|
public Meta metaob
private Variables vars
private final java.lang.String source
private java.lang.Long obid
private final java.lang.String name
private java.util.Map<java.lang.String,java.lang.Object> observation
public DataRecord(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 DataRecord(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 DataRecord(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
- Missing value override passed to the setData methodpublic DataRecord(java.lang.Integer 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
- Missing value override passed to the setData methodpublic 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.util.Map<java.lang.String,java.lang.Object> getData()
public java.lang.Long getObid()
public java.lang.String getName()