|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The SequencedValue interface provides the abstraction of collection of values, which can be the values of a time-varying attribute in different periods when TDOM works in sequenced mode. Values are stored and returned as strings.
| Method Summary | |
int |
getLength()
Returns the number of maximal periods, for which no two contiguous periods are associated with the same value. |
Period |
getTimestamp(int index)
Returns the valid period of the indexth value in the collection. |
java.lang.String |
getValue(int index)
Returns the indexth value in the collection. |
| Method Detail |
public int getLength()
public java.lang.String getValue(int index)
throws TDOMException
index - Index into the collection.
TDOMException - Throw TDOMException with exception code INVALID_INDEX
if the index is out of range.
public Period getTimestamp(int index)
throws TDOMException
index - Index into the collection.
TDOMException - Throw TDOMException with exception code INVALID_INDEX
if the index is out of range.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||