Place to experiment with runtime notes about datasets in this single-instance lookup table. This uses weak references so that datasets will be garbage collected.
the value 0 to avoid the if statement in valueOf
the value 1 to avoid the if statement in valueOf
number of invalid entries. If zero, the data is all valid, within valid min to valid max and not fill.
number of entries containing the value zero. If zero, then the data is all non-zero or fill. This is used with ANNOTATION_INVALID_COUNT in the where function.
the bounding cube of the dataset, see SemanticOps.getBounds.
the cadence for the dataset.
qube for the dataset.
return either null or the value for the annotation. Note some Java compilers (Java6?) will not allow code such as: 0==DataSetAnnotations.getInstance().getAnnotation(...) so instead use Integer.valueOf(0)==DataSetAnnotations.getInstance().getAnnotation(...)
add the annotation.