public interface ILcdDimension<T>
This interface defines the possible values or intervals in which data is defined. It contains an
axis in which a list of possible values is defined. For
convenience, this interface also contains a getUnionValues
method that represents
the union of all values.
Data can for example be present at a number of specific times or time intervals. In that case the axis can
have a Date
type. The ranges can then consist of a number of TLcdDimensionInterval<Date>
instances.
Modifier and Type | Method and Description |
---|---|
TLcdDimensionAxis<T> |
getAxis()
Returns the axis in which the possible values are defined.
|
TLcdDimensionInterval<T> |
getUnionOfValues()
Returns the union of the ranges in which data can be available.
|
List<TLcdDimensionInterval<T>> |
getValues()
Returns the intervals in which data can be available for this axis.
|
TLcdDimensionAxis<T> getAxis()
TLcdDimensionInterval<T> getUnionOfValues()
getValues
.null
.List<TLcdDimensionInterval<T>> getValues()
TLcdDimensionInterval.equals()
.
The list may contain overlapping intervals though.
Models offering logically infinite intervals such as "every week day on Monday" will have to limit the intervals
they offer to a practical finite collection.null
.