public class BrAPIObservationUnitTable extends Object
| Constructor and Description |
|---|
BrAPIObservationUnitTable() |
public BrAPIObservationUnitTable data(List<List<String>> data)
public BrAPIObservationUnitTable addDataItem(List<String> dataItem)
@Valid public @Valid List<List<String>> getData()
public BrAPIObservationUnitTable headerRow(List<BrAPIObservationTableHeaderRowEnum> headerRow)
public BrAPIObservationUnitTable addHeaderRowItem(BrAPIObservationTableHeaderRowEnum headerRowItem)
public List<BrAPIObservationTableHeaderRowEnum> getHeaderRow()
The table is REQUIRED to have the following columns
The table may have any or all of the following OPTIONAL columns. Included columns are decided by the server developer
The table also may have any number of Observation Unit Hierarchy Level columns. For example:
The JSON representation provides a pair of extra arrays for defining the headers of the table. The first array \"headerRow\" will always contain \"observationUnitDbId\" and any or all of the OPTIONAL column header names. The second array \"observationVariables\" contains the names and DbIds for the Observation Variables represented in the table. By appending the two arrays, you can construct the complete header row of the table.
public void setHeaderRow(List<BrAPIObservationTableHeaderRowEnum> headerRow)
public BrAPIObservationUnitTable observationVariables(List<BrAPIObservationTableObservationVariables> observationVariables)
public BrAPIObservationUnitTable addObservationVariablesItem(BrAPIObservationTableObservationVariables observationVariablesItem)
@Valid public @Valid List<BrAPIObservationTableObservationVariables> getObservationVariables()
public void setObservationVariables(List<BrAPIObservationTableObservationVariables> observationVariables)
Copyright © 2023. All rights reserved.