Package adams.db
Class OrphanedSampleDataConditions
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.db.AbstractConditions
-
- adams.db.AbstractLimitedConditions
-
- adams.db.OrphanedSampleDataConditions
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.option.PreGetOptionslistHook
,adams.core.SizeOfHandler
,Serializable
public class OrphanedSampleDataConditions extends adams.db.AbstractLimitedConditions
Allows the retrieval of sample IDs of orphaned sample data, ie no spectrum available.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected adams.core.base.BaseDateTime
m_EndDate
the end date of the inserts (incl.).protected boolean
m_Latest
whether to get latest (= reverse order).protected adams.core.base.BaseDateTime
m_StartDate
the start date of the inserts (incl.).
-
Constructor Summary
Constructors Constructor Description OrphanedSampleDataConditions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.String
endDateTipText()
Returns the tip text for this property.adams.core.base.BaseDateTime
getEndDate()
Returns the end date.boolean
getLatest()
Returns whether only the latest ones are returned (= reverse order).adams.core.base.BaseDateTime
getStartDate()
Returns the start date.String
globalInfo()
Returns a string describing the object.String
latestTipText()
Returns the tip text for this property.void
setEndDate(adams.core.base.BaseDateTime value)
Sets the end date.void
setLatest(boolean value)
Sets whether to get only the latest ones (= reverse order).void
setStartDate(adams.core.base.BaseDateTime value)
Sets the start date.String
startDateTipText()
Returns the tip text for this property.void
update()
Automatically corrects values, but does not throw any exceptions.-
Methods inherited from class adams.db.AbstractLimitedConditions
getDefaultLimit, getLimit, limitTipText, setLimit
-
Methods inherited from class adams.db.AbstractConditions
check, compareTo, equals, forCommandLine, forName, getFilters, preGetOptionsList, shallowCopy, shallowCopy
-
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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.db.AbstractLimitedConditions
-
setStartDate
public void setStartDate(adams.core.base.BaseDateTime value)
Sets the start date.- Parameters:
value
- the start date
-
getStartDate
public adams.core.base.BaseDateTime getStartDate()
Returns the start date.- Returns:
- the start date
-
startDateTipText
public String startDateTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setEndDate
public void setEndDate(adams.core.base.BaseDateTime value)
Sets the end date.- Parameters:
value
- the end date
-
getEndDate
public adams.core.base.BaseDateTime getEndDate()
Returns the end date.- Returns:
- the end date
-
endDateTipText
public String endDateTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setLatest
public void setLatest(boolean value)
Sets whether to get only the latest ones (= reverse order).- Parameters:
value
- if true then the latest ones are returned
-
getLatest
public boolean getLatest()
Returns whether only the latest ones are returned (= reverse order).- Returns:
- true if only latest ones are returned
-
latestTipText
public String latestTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
update
public void update()
Automatically corrects values, but does not throw any exceptions.- Specified by:
update
in classadams.db.AbstractConditions
-
-