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
ConstructorsConstructorDescriptionTargetMotionSQLLogging(int numResults) TargetMotionSQLLogging(int numResults, String initials)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddTableItems(EmptyTableDefinition pamTableDefinition) Add a load of columns to an existing table definitiongetAic()getChi2()getDepth()static intgetName()Get a name for the SQLLogging Addon.intgetProb()getSide()voidhideColumns(PamTableItem[] tableItems) booleanisHidden(PamTableItem[] tableItems) booleanloadData(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.booleansaveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Save data - that is transfer data from the pamDataUnit to the data objects within the table definitionvoidsetTargetMotionLocaliser(TargetMotionLocaliser targetMotionLocaliser) voidunHideColumns(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:SQLLoggingAddonAdd a load of columns to an existing table definition- Specified by:
 addTableItemsin interfaceSQLLoggingAddon- Parameters:
 pamTableDefinition-
 - 
saveData
public boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddonSave data - that is transfer data from the pamDataUnit to the data objects within the table definition- Specified by:
 saveDatain 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:SQLLoggingAddonLoad data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.- Specified by:
 loadDatain 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:SQLLoggingAddonGet 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:
 getNamein 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
 
 
 -