Package targetMotionOld
Class TargetMotionSQLLogging
java.lang.Object
targetMotionOld.TargetMotionSQLLogging
- All Implemented Interfaces:
SQLLoggingAddon
- Direct Known Subclasses:
CrossedBearingSQLAddon
,TMAnnotationLogging
Reinstated Target motion add-in as used by the click detector. Hope one day still to replace this
with Jamie's new one, but keep this one until Jamie's is working.
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionTargetMotionSQLLogging
(int numResults) TargetMotionSQLLogging
(int numResults, String initials) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTableItems
(EmptyTableDefinition pamTableDefinition) Add a load of columns to an existing table definitiongetAic()
getChi2()
getDepth()
static int
getName()
Get a name for the SQLLogging Addon.int
getProb()
getSide()
void
hideColumns
(PamTableItem[] tableItems) boolean
isHidden
(PamTableItem[] tableItems) boolean
loadData
(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.boolean
saveData
(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Save data - that is transfer data from the pamDataUnit to the data objects within the table definitionvoid
setTargetMotionLocaliser
(TargetMotionLocaliser targetMotionLocaliser) void
unHideColumns
(PamTableItem[] tableItems)
-
Constructor Details
-
TargetMotionSQLLogging
public TargetMotionSQLLogging(int numResults) - Parameters:
numResults
- Number of results to displayinitials
- initials for prefix of column names.
-
TargetMotionSQLLogging
- Parameters:
numResults
- Number of results to displayinitials
- initials for prefix of column names.
-
-
Method Details
-
hideColumns
-
isHidden
-
unHideColumns
-
addTableItems
Description copied from interface:SQLLoggingAddon
Add a load of columns to an existing table definition- Specified by:
addTableItems
in interfaceSQLLoggingAddon
-
saveData
public boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddon
Save data - that is transfer data from the pamDataUnit to the data objects within the table definition- Specified by:
saveData
in interfaceSQLLoggingAddon
- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
loadData
public boolean loadData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddon
Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.- Specified by:
loadData
in interfaceSQLLoggingAddon
- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
getTargetMotionLocaliser
- Returns:
- the targetMotionLocaliser
-
setTargetMotionLocaliser
- Parameters:
targetMotionLocaliser
- the targetMotionLocaliser to set
-
getName
Description copied from interface:SQLLoggingAddon
Get a name for the SQLLogging Addon. this is used in identifying the Addon meaning that it should be possible to have two Addon's with the same class, but different fields.- Specified by:
getName
in interfaceSQLLoggingAddon
- Returns:
- the name of the Logging Addon
-
getNumResults
public int getNumResults()- Returns:
- the numResults
-
getModelName
- Returns:
- the modelName
-
getLatitude
- Returns:
- the latitude
-
getLongitude
- Returns:
- the longitude
-
getSide
- Returns:
- the side
-
getChi2
- Returns:
- the chi2
-
getAic
- Returns:
- the aic
-
getProb
- Returns:
- the prob
-
getDegsFreedom
- Returns:
- the degsFreedom
-
getPerpDist
- Returns:
- the perpDist
-
getPerpdistErr
- Returns:
- the perpdistErr
-
getPhones
- Returns:
- the phones
-
getComment
- Returns:
- the comment
-
getBeamLatitude
- Returns:
- the beamLatitude
-
getBeamLongitude
- Returns:
- the beamLongitude
-
getBeamTime
- Returns:
- the beamTime
-
getDepth
- Returns:
- the depth
-
getDepthErr
- Returns:
- the depthErr
-
getLocError
- Returns:
- the locError
-
getHiddenItems
- Returns:
- the hiddenItems
-
getLocerrorlength
public static int getLocerrorlength()- Returns:
- the locerrorlength
-