Package adams.flow.core
Class LagMakerOptions
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class LagMakerOptions extends AbstractOptionGroup
Option group forTSLagMakerobjects.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_AddAMIndicatorthe am-pm indicator.protected booleanm_AddDayOfMonththe day of month indicator.protected booleanm_AddDayOfWeekthe day of week indicator.protected booleanm_AddMonthOfYearthe month indicator.protected booleanm_AddNumDaysInMonththe number of days in month indicator.protected booleanm_AddQuarterOfYearthe quarted indicator.protected booleanm_AddWeekendIndicatorthe weekend indicator.protected booleanm_AdjustForTrendswhether to adjust for trends.protected booleanm_AdjustForVariancewhether to adjust for variance.protected booleanm_AverageConsecutiveLongLagsaverage consecutive long lags.protected intm_AverageLagsAfteraverage lags after.protected Stringm_LagFineTunelag fine tune.protected intm_MaxLagthe maximum lag.protected intm_MinLagthe minimum lag.protected intm_NumConsecutiveLongLagsToAveragenumber of consecutive long lags to average.protected Stringm_SkipEntriesthe entries to skip.protected Stringm_TimeStampFieldthe timestamp field.-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description LagMakerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddAMIndicatorTipText()Returns the tip text for this property.StringaddDayOfMonthTipText()Returns the tip text for this property.StringaddDayOfWeekTipText()Returns the tip text for this property.StringaddMonthOfYearTipText()Returns the tip text for this property.StringaddNumDaysInMonthTipText()Returns the tip text for this property.StringaddQuarterOfYearTipText()Returns the tip text for this property.StringaddWeekendIndicatorTipText()Returns the tip text for this property.StringadjustForTrendsTipText()Returns the tip text for this property.StringadjustForVarianceTipText()Returns the tip text for this property.StringaverageConsecutiveLongLagsTipText()Returns the tip text for this property.StringaverageLagsAfterTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.booleangetAddAMIndicator()Returns whether to add the AM indicator.booleangetAddDayOfMonth()Returns whether to add the day of month indicator.booleangetAddDayOfWeek()Returns whether to add the day of week indicator.booleangetAddMonthOfYear()Returns whether to add the month of year indicator.booleangetAddNumDaysInMonth()Returns whether to add the number of days in month indicator.booleangetAddQuarterOfYear()Returns whether to add the quarter of year indicator.booleangetAddWeekendIndicator()Returns whether to add the weekend indicator.booleangetAdjustForTrends()Returns whether to adjust for trends.booleangetAdjustForVariance()Returns whether to adjust for variance.booleangetAverageConsecutiveLongLags()Returns whether to average consecutive long lags.intgetAverageLagsAfter()Returns the number of lags after which to average.protected StringgetGroupName()Returns the group name.StringgetLagFineTune()Returns the lag fine tune.intgetMaxLag()Returns the maximum lag.intgetMinLag()Returns the maximum lag.intgetNumConsecutiveLongLagsToAverage()Returns the number of consecutive long lags to average.StringgetSkipEntries()Returns the entries to skip.StringgetTimeStampField()Returns the timestamp field.StringlagFineTuneTipText()Returns the tip text for this property.StringmaxLagTipText()Returns the tip text for this property.StringminLagTipText()Returns the tip text for this property.StringnumConsecutiveLongLagsToAverageTipText()Returns the tip text for this property.voidsetAddAMIndicator(boolean value)Sets whether to add the AM indicator.voidsetAddDayOfMonth(boolean value)Sets whether to add the day of month indicator.voidsetAddDayOfWeek(boolean value)Sets whether to add the day of week indicator.voidsetAddMonthOfYear(boolean value)Sets whether to add the month of year indicator.voidsetAddNumDaysInMonth(boolean value)Sets whether to add the number of days in month indicator.voidsetAddQuarterOfYear(boolean value)Sets whether to add the quarter of year indicator.voidsetAddWeekendIndicator(boolean value)Sets whether to add the weekend indicator.voidsetAdjustForTrends(boolean value)Sets whether to adjust for trends.voidsetAdjustForVariance(boolean value)Sets whether to adjust for variance.voidsetAverageConsecutiveLongLags(boolean value)Sets whether to average consecutive long lags.voidsetAverageLagsAfter(int value)Sets the number of lags after which to average.voidsetLagFineTune(String value)Sets the lag fine tune.voidsetMaxLag(int value)Sets the maximum lag.voidsetMinLag(int value)Sets the minimum lag.voidsetNumConsecutiveLongLagsToAverage(int value)Sets the number of consecutive long lags to average.voidsetSkipEntries(String value)Sets the entries to skip.voidsetTimeStampField(String value)Sets the timestamp field.StringskipEntriesTipText()Returns the tip text for this property.StringtimeStampFieldTipText()Returns the tip text for this property.-
Methods inherited from class adams.core.option.AbstractOptionGroup
globalInfo
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_MinLag
protected int m_MinLag
the minimum lag.
-
m_MaxLag
protected int m_MaxLag
the maximum lag.
-
m_LagFineTune
protected String m_LagFineTune
lag fine tune.
-
m_AverageConsecutiveLongLags
protected boolean m_AverageConsecutiveLongLags
average consecutive long lags.
-
m_AverageLagsAfter
protected int m_AverageLagsAfter
average lags after.
-
m_NumConsecutiveLongLagsToAverage
protected int m_NumConsecutiveLongLagsToAverage
number of consecutive long lags to average.
-
m_AdjustForTrends
protected boolean m_AdjustForTrends
whether to adjust for trends.
-
m_AdjustForVariance
protected boolean m_AdjustForVariance
whether to adjust for variance.
-
m_TimeStampField
protected String m_TimeStampField
the timestamp field.
-
m_AddAMIndicator
protected boolean m_AddAMIndicator
the am-pm indicator.
-
m_AddDayOfWeek
protected boolean m_AddDayOfWeek
the day of week indicator.
-
m_AddDayOfMonth
protected boolean m_AddDayOfMonth
the day of month indicator.
-
m_AddNumDaysInMonth
protected boolean m_AddNumDaysInMonth
the number of days in month indicator.
-
m_AddWeekendIndicator
protected boolean m_AddWeekendIndicator
the weekend indicator.
-
m_AddMonthOfYear
protected boolean m_AddMonthOfYear
the month indicator.
-
m_AddQuarterOfYear
protected boolean m_AddQuarterOfYear
the quarted indicator.
-
m_SkipEntries
protected String m_SkipEntries
the entries to skip.
-
-
Method Detail
-
getGroupName
protected String getGroupName()
Returns the group name.- Specified by:
getGroupNamein classAbstractOptionGroup- Returns:
- the name
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setMinLag
public void setMinLag(int value)
Sets the minimum lag.- Parameters:
value- the min lag
-
getMinLag
public int getMinLag()
Returns the maximum lag.- Returns:
- the max lag
-
minLagTipText
public String minLagTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setMaxLag
public void setMaxLag(int value)
Sets the maximum lag.- Parameters:
value- the max lag
-
getMaxLag
public int getMaxLag()
Returns the maximum lag.- Returns:
- the max lag
-
maxLagTipText
public String maxLagTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setLagFineTune
public void setLagFineTune(String value)
Sets the lag fine tune.- Parameters:
value- the fine tune
-
getLagFineTune
public String getLagFineTune()
Returns the lag fine tune.- Returns:
- the fine tune
-
lagFineTuneTipText
public String lagFineTuneTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAverageConsecutiveLongLags
public void setAverageConsecutiveLongLags(boolean value)
Sets whether to average consecutive long lags.- Parameters:
value- true if to average
-
getAverageConsecutiveLongLags
public boolean getAverageConsecutiveLongLags()
Returns whether to average consecutive long lags.- Returns:
- true if to average
-
averageConsecutiveLongLagsTipText
public String averageConsecutiveLongLagsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAverageLagsAfter
public void setAverageLagsAfter(int value)
Sets the number of lags after which to average.- Parameters:
value- the number
-
getAverageLagsAfter
public int getAverageLagsAfter()
Returns the number of lags after which to average.- Returns:
- the number of lags
-
averageLagsAfterTipText
public String averageLagsAfterTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setNumConsecutiveLongLagsToAverage
public void setNumConsecutiveLongLagsToAverage(int value)
Sets the number of consecutive long lags to average.- Parameters:
value- the number
-
getNumConsecutiveLongLagsToAverage
public int getNumConsecutiveLongLagsToAverage()
Returns the number of consecutive long lags to average.- Returns:
- the number
-
numConsecutiveLongLagsToAverageTipText
public String numConsecutiveLongLagsToAverageTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAdjustForTrends
public void setAdjustForTrends(boolean value)
Sets whether to adjust for trends.- Parameters:
value- true if to adjust
-
getAdjustForTrends
public boolean getAdjustForTrends()
Returns whether to adjust for trends.- Returns:
- true if to adjust
-
adjustForTrendsTipText
public String adjustForTrendsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAdjustForVariance
public void setAdjustForVariance(boolean value)
Sets whether to adjust for variance.- Parameters:
value- true if to adjust
-
getAdjustForVariance
public boolean getAdjustForVariance()
Returns whether to adjust for variance.- Returns:
- true if to adjust
-
adjustForVarianceTipText
public String adjustForVarianceTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setTimeStampField
public void setTimeStampField(String value)
Sets the timestamp field.- Parameters:
value- the field
-
getTimeStampField
public String getTimeStampField()
Returns the timestamp field.- Returns:
- the field
-
timeStampFieldTipText
public String timeStampFieldTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddAMIndicator
public void setAddAMIndicator(boolean value)
Sets whether to add the AM indicator.- Parameters:
value- true if to add indicator
-
getAddAMIndicator
public boolean getAddAMIndicator()
Returns whether to add the AM indicator.- Returns:
- true if added
-
addAMIndicatorTipText
public String addAMIndicatorTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddDayOfWeek
public void setAddDayOfWeek(boolean value)
Sets whether to add the day of week indicator.- Parameters:
value- true if to add indicator
-
getAddDayOfWeek
public boolean getAddDayOfWeek()
Returns whether to add the day of week indicator.- Returns:
- true if added
-
addDayOfWeekTipText
public String addDayOfWeekTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddDayOfMonth
public void setAddDayOfMonth(boolean value)
Sets whether to add the day of month indicator.- Parameters:
value- true if to add indicator
-
getAddDayOfMonth
public boolean getAddDayOfMonth()
Returns whether to add the day of month indicator.- Returns:
- true if added
-
addDayOfMonthTipText
public String addDayOfMonthTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddNumDaysInMonth
public void setAddNumDaysInMonth(boolean value)
Sets whether to add the number of days in month indicator.- Parameters:
value- true if to add indicator
-
getAddNumDaysInMonth
public boolean getAddNumDaysInMonth()
Returns whether to add the number of days in month indicator.- Returns:
- true if added
-
addNumDaysInMonthTipText
public String addNumDaysInMonthTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddWeekendIndicator
public void setAddWeekendIndicator(boolean value)
Sets whether to add the weekend indicator.- Parameters:
value- true if to add indicator
-
getAddWeekendIndicator
public boolean getAddWeekendIndicator()
Returns whether to add the weekend indicator.- Returns:
- true if added
-
addWeekendIndicatorTipText
public String addWeekendIndicatorTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddMonthOfYear
public void setAddMonthOfYear(boolean value)
Sets whether to add the month of year indicator.- Parameters:
value- true if to add indicator
-
getAddMonthOfYear
public boolean getAddMonthOfYear()
Returns whether to add the month of year indicator.- Returns:
- true if added
-
addMonthOfYearTipText
public String addMonthOfYearTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAddQuarterOfYear
public void setAddQuarterOfYear(boolean value)
Sets whether to add the quarter of year indicator.- Parameters:
value- true if to add indicator
-
getAddQuarterOfYear
public boolean getAddQuarterOfYear()
Returns whether to add the quarter of year indicator.- Returns:
- true if added
-
addQuarterOfYearTipText
public String addQuarterOfYearTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setSkipEntries
public void setSkipEntries(String value)
Sets the entries to skip.- Parameters:
value- the entries
-
getSkipEntries
public String getSkipEntries()
Returns the entries to skip.- Returns:
- the entries
-
skipEntriesTipText
public String skipEntriesTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-