|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.anwrt.hl.model.AbstractContainer
com.anwrt.hl.model.AwtCorrelatedDataContainer
public class AwtCorrelatedDataContainer
Container which contains a set of correlated data. Data are stored by property type and each data is linked to the same order value of others properties. For example:
| TimeStamp | Latitude | Longtitude |
| 1233786292 | 43.53 | 1.518 |
| 1233789292 | 43.54 | 1.525 |
| 1233712292 | 43.55 | 1.527 |
| Constructor Summary | |
|---|---|
AwtCorrelatedDataContainer(java.lang.String relativePath,
java.lang.String[] properties)
Creates a new CorrelatedDataContainer. |
|
AwtCorrelatedDataContainer(java.lang.String relativePath,
java.lang.String[] properties,
java.lang.Object[] values)
Creates a new AwtCorrelatedDataContainer and fills it with given values. |
|
| Method Summary | |
|---|---|
boolean |
addRow(CorrelatedRow row)
Add a row to the container. |
boolean |
addRows(java.util.List rows)
Add rows to the container. |
void |
empty()
Clear the container. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AwtCorrelatedDataContainer(java.lang.String relativePath,
java.lang.String[] properties)
relativePath - Relative path of the container.properties - Properties of the values.
public AwtCorrelatedDataContainer(java.lang.String relativePath,
java.lang.String[] properties,
java.lang.Object[] values)
throws AwtContainerException
relativePath - Relative path of the container.properties - Properties of the values.values - Table of values per columns.
AwtContainerException - If parameters are incoherent.| Method Detail |
|---|
public boolean addRow(CorrelatedRow row)
throws AwtContainerException
row - The CorrelatedRow to be added.
AwtContainerException - Throws AwtDataContainerException if
values.length is not equal to the number of columns or if the
cardinality of column is not equal to the others.
public boolean addRows(java.util.List rows)
throws AwtContainerException
rows - List of CorrelatedRow to be added.
AwtContainerException - Throws AwtDataContainerException if
values.length is not equal to the number of columns or if the
cardinality of column is not equal to the others.public void empty()
empty in class AbstractContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||