Package annotation.timestamp
Class TimestampAnnotationType
Simple annotation type that does nothing by add a string text to
a datat unit.
- Author:
- Doug Gillespie
-
Field Summary
Fields inherited from class annotation.DataAnnotationType
SHORTIDCODELENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canAnnotate
(Class dataUnitType) Find out whether or not a particular type of data can be annotatedboolean
Get a dialog component that can be incorporated into a larger dialog.Get an SQLLogging add on.Methods inherited from class annotation.DataAnnotationType
autoAnnotate, getAnnotationOptions, getBinaryHandler, getDataSelector, getSettingsPanel, getShortIdCode, getSymbolModifier, getTargetDataBlock, hasSettingsPanel, isAnnotating, setAnnotationOptions, setTargetDataBlock, toString, toString
-
Constructor Details
-
TimestampAnnotationType
-
-
Method Details
-
getAnnotationName
- Specified by:
getAnnotationName
in classDataAnnotationType<TimestampAnnotation>
-
canAnnotate
Description copied from class:DataAnnotationType
Find out whether or not a particular type of data can be annotated- Specified by:
canAnnotate
in classDataAnnotationType<TimestampAnnotation>
- Parameters:
dataUnitType
- Class of a type of data unit. Can be null in which case annotation can be stand alone.- Returns:
- true if the data unit Class can be annotated.
-
canAutoAnnotate
public boolean canAutoAnnotate()- Overrides:
canAutoAnnotate
in classDataAnnotationType<TimestampAnnotation>
- Returns:
- True if annotation can be automatic (i.e. calculated rather than input by user).
-
getSQLLoggingAddon
Description copied from class:DataAnnotationType
Get an SQLLogging add on. For stand alone annotations, this will be used to generate a stand alone database table. For annotations of existing data this will be used to add additional columns to the existing data tables.- Overrides:
getSQLLoggingAddon
in classDataAnnotationType<TimestampAnnotation>
- Returns:
- An SQLLoggingAddon or null if SQL logging unavailable for this type of annotation.
-
getDialogPanel
Description copied from class:DataAnnotationType
Get a dialog component that can be incorporated into a larger dialog.Note that this is for setting the data for a specific annotation, NOT the dialog for setting options controlling how the annotation type works.
- Overrides:
getDialogPanel
in classDataAnnotationType<TimestampAnnotation>
- Returns:
- a dialog panel (contains a component = a few other functions).
-
getAnnotationClass
- Specified by:
getAnnotationClass
in classDataAnnotationType<TimestampAnnotation>
- Returns:
- Class type for the annotations
-