|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.agmodel.physical.GeneralSequenceImpl
net.agmodel.weatherData.GeneralMetSequenceImpl
A general mechanism for implementing MetSequences. Descendent objects implement storage of sequences in various ways.
| Constructor Summary | |
GeneralMetSequenceImpl(MetElement element,
Interval dateRange,
SummaryHistory composition)
Creates a general sequence implementation. |
|
| Method Summary | |
String |
getColumnHeading()
Returned a localized label for the Sequence |
String |
getName()
Returns a language independent name for the Sequence This name is typically used as a resourceBundle key or to identify the Sequence programmatically. |
abstract int |
getNumberOfSubComponents()
Get the number of sub-components in the sequence. |
MetElement |
getSequenceElement()
Returns the meteorological element stored in the sequence. |
String |
getSequenceHeading(String delimiter)
Returns a brief description of the kind of data stored in the sequence in the language of the default locale. |
abstract String |
getSubHeading(int index)
Gets a brief description of the data stored in a Sequence subcomponent in the language of the default locale. |
String |
getUnitsHeading(int index)
This implementation ignores index and return either the element default units or the supplied heading. |
void |
setColumnHeading(String aHeading)
Deprecated. |
void |
setName(String aHeading)
Does nothing |
void |
setSequenceHeading(String aHeading)
Lets you override the default sequence heading |
abstract void |
setSubHeading(int index,
String aHeading)
Sets the brief description of the kind of data stored in the sequence in the language of the default locale. |
void |
setUnitsHeading(int index,
String aHeading)
This implementation ignores the index and just stores the String |
| Methods inherited from class net.agmodel.physical.GeneralSequenceImpl |
cancelTemporalInterpolation, clone, dumpSequence, getAllCoverage, getAllData, getContentsAsString, getCoverage, getCurrentResolution, getData, getDateRange, getMaximumTemporalInterpolation, getResolution, getSubHeading, getSummaryHistory, getSummaryKind, getTemporalInterpolation, getUnitsHeading, setTemporalInterpolation |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.agmodel.weatherData.MetSequence |
summarize |
| Methods inherited from interface net.agmodel.physical.CompoundSequence |
cancelTemporalInterpolation, getAllCoverage, getAllData, getCoverage, getData, getMaximumTemporalInterpolation, getTemporalInterpolation, setTemporalInterpolation |
| Methods inherited from interface net.agmodel.physical.Sequence |
clone, dumpSequence, getContentsAsString, getCurrentResolution, getDateRange, getResolution, getSubHeading, getSummaryKind, getUnitsHeading |
| Constructor Detail |
public GeneralMetSequenceImpl(MetElement element,
Interval dateRange,
SummaryHistory composition)
dateRange - the interval for which readings can be storedcomposition - a record of how raw data has been summarised to make the sequence.| Method Detail |
public String getSequenceHeading(String delimiter)
getSequenceHeading in interface SequencegetSequenceHeading in class GeneralSequenceImplpublic void setSequenceHeading(String aHeading)
setSequenceHeading in interface CompoundSequencesetSequenceHeading in class GeneralSequenceImplgetSequenceHeading(String)public abstract int getNumberOfSubComponents()
Sequence
getNumberOfSubComponents in interface SequencegetNumberOfSubComponents in class GeneralSequenceImplpublic abstract String getSubHeading(int index)
CompoundSequence
getSubHeading in interface CompoundSequencegetSubHeading in class GeneralSequenceImpl
public abstract void setSubHeading(int index,
String aHeading)
CompoundSequence
setSubHeading in interface CompoundSequencesetSubHeading in class GeneralSequenceImplpublic String getUnitsHeading(int index)
getUnitsHeading in interface CompoundSequencegetUnitsHeading in class GeneralSequenceImplsetUnitsHeading(int, String)
public void setUnitsHeading(int index,
String aHeading)
setUnitsHeading in interface CompoundSequencesetUnitsHeading in class GeneralSequenceImplpublic MetElement getSequenceElement()
getSequenceElement in interface MetSequencepublic String getColumnHeading()
Sequence
getColumnHeading in interface Sequencepublic void setColumnHeading(String aHeading)
setColumnHeading in interface SequenceaHeading - the new headingpublic String getName()
Sequence
getName in interface Sequencepublic void setName(String aHeading)
setName in interface SequenceaHeading - the new heading
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||