|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.agmodel.physical.GeneralSequenceImpl
|
+--net.agmodel.weatherData.GeneralMetSequenceImpl
A general mechanism for implementing MetSequences. Descendent objects implement storage of sequences in various ways.
| Field Summary | |
protected static ResourceBundle |
rb
|
| Fields inherited from class net.agmodel.physical.GeneralSequenceImpl |
dateRange, maximumTemporalInterpolation, summaryHistory |
| 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, finalize, 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 |
| Field Detail |
protected static ResourceBundle rb
| 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 GeneralSequenceImpldelimiter - the delimiter to use if padding is required for multiple columns
public void setSequenceHeading(String aHeading)
setSequenceHeading in interface CompoundSequencesetSequenceHeading in class GeneralSequenceImplaHeading - the new headinggetSequenceHeading(String)public abstract int getNumberOfSubComponents()
Sequence
getNumberOfSubComponents in interface SequencegetNumberOfSubComponents in class GeneralSequenceImplSequence.getSequenceHeading(String)public abstract String getSubHeading(int index)
CompoundSequence
getSubHeading in interface CompoundSequencegetSubHeading in class GeneralSequenceImplSequence.getNumberOfSubComponents(),
Sequence.getSequenceHeading(String)
public abstract void setSubHeading(int index,
String aHeading)
CompoundSequence
setSubHeading in interface CompoundSequencesetSubHeading in class GeneralSequenceImplaHeading - the new headingindex - the zero-based index of the headingSequence.getNumberOfSubComponents(),
Sequence.getSequenceHeading(String)public 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 GeneralSequenceImplindex - the zero-based index of the headingaHeading - the new headingSequence.getNumberOfSubComponents(),
CompoundSequence.setSequenceHeading(String),
CompoundSequence.setSubHeading(int,String)public 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 | |||||||||