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.AbstractLimitedConditionsAllows 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.BaseDateTimem_EndDatethe end date of the inserts (incl.).protected booleanm_Latestwhether to get latest (= reverse order).protected adams.core.base.BaseDateTimem_StartDatethe 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 voiddefineOptions()Adds options to the internal list of options.StringendDateTipText()Returns the tip text for this property.adams.core.base.BaseDateTimegetEndDate()Returns the end date.booleangetLatest()Returns whether only the latest ones are returned (= reverse order).adams.core.base.BaseDateTimegetStartDate()Returns the start date.StringglobalInfo()Returns a string describing the object.StringlatestTipText()Returns the tip text for this property.voidsetEndDate(adams.core.base.BaseDateTime value)Sets the end date.voidsetLatest(boolean value)Sets whether to get only the latest ones (= reverse order).voidsetStartDate(adams.core.base.BaseDateTime value)Sets the start date.StringstartDateTipText()Returns the tip text for this property.voidupdate()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:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin 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:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin 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:
updatein classadams.db.AbstractConditions
-
-