public class StringAnnotationType extends DataAnnotationType<StringAnnotation>
Constructor and Description |
---|
StringAnnotationType(java.lang.String annotationName,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAnnotate(java.lang.Class dataUnitType)
Find out whether or not a particular type of data can be annotated
|
boolean |
canAutoAnnotate() |
java.lang.String |
getAnnotationName() |
AnnotationDialogPanel |
getDialogPanel()
Get a dialog component that can be incorporated into a larger dialog.
|
int |
getMaxLength() |
SQLLoggingAddon |
getSQLLoggingAddon()
Get an SQLLogging add on.
|
autoAnnotate, toString
public StringAnnotationType(java.lang.String annotationName, int maxLength)
public java.lang.String getAnnotationName()
getAnnotationName
in class DataAnnotationType<StringAnnotation>
public boolean canAnnotate(java.lang.Class dataUnitType)
DataAnnotationType
canAnnotate
in class DataAnnotationType<StringAnnotation>
dataUnitType
- Class of a type of data unit. Can be null in which
case annotation can be stand alone.public boolean canAutoAnnotate()
canAutoAnnotate
in class DataAnnotationType<StringAnnotation>
public SQLLoggingAddon getSQLLoggingAddon()
DataAnnotationType
getSQLLoggingAddon
in class DataAnnotationType<StringAnnotation>
public AnnotationDialogPanel getDialogPanel()
DataAnnotationType
getDialogPanel
in class DataAnnotationType<StringAnnotation>
public int getMaxLength()