public class DbImportAnnotationMapper extends DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
destinationMethod, ignore, importMapperHelper, obligatory, targetClass
defaultValue
Modifier and Type | Method and Description |
---|---|
protected AnnotatableEntity |
doInvoke(AnnotatableEntity annotatableEntity,
java.lang.Object dbValue) |
protected AnnotationType |
getAnnotationType(CdmImportBase<?,?> currentImport,
java.util.UUID uuid,
java.lang.String label,
java.lang.String text,
java.lang.String labelAbbrev) |
java.lang.Class<java.lang.String> |
getTypeClass() |
void |
initialize(DbImportStateBase<?,?> state,
java.lang.Class<? extends CdmBase> destinationClass) |
AnnotatableEntity |
invoke(java.sql.ResultSet rs,
AnnotatableEntity annotatableEntity) |
static DbImportAnnotationMapper |
NewInstance(java.lang.String dbAttributeString,
AnnotationType annotationType) |
static DbImportAnnotationMapper |
NewInstance(java.lang.String dbAttributeString,
AnnotationType annotationType,
Language language) |
static DbImportAnnotationMapper |
NewInstance(java.lang.String dbAttributeString,
AnnotationType annotationType,
MarkerType ifNullMarkerType) |
static DbImportAnnotationMapper |
NewInstance(java.lang.String dbAttributeString,
java.util.UUID uuid,
java.lang.String label,
java.lang.String text,
java.lang.String labelAbbrev)
Deprecated.
|
static DbImportAnnotationMapper |
NewInstance(java.lang.String dbAttributeString,
java.util.UUID uuid,
java.lang.String label,
java.lang.String text,
java.lang.String labelAbbrev,
Language language)
* FIXME Warning: the annotation type creation is not yet implemented
|
checkDbColumnExists, getDbColumnIntegerInfo, getDbValue, getState, getStringDbValue, getTableName, getTargetClass, getValue
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
toString
@Deprecated public static DbImportAnnotationMapper NewInstance(java.lang.String dbAttributeString, java.util.UUID uuid, java.lang.String label, java.lang.String text, java.lang.String labelAbbrev)
dbAttributeString
- uuid
- label
- text
- labelAbbrev
- public static DbImportAnnotationMapper NewInstance(java.lang.String dbAttributeString, AnnotationType annotationType, MarkerType ifNullMarkerType)
dbAttributeString
- annotationType
- ifNullMarkerType
- the type of marker to set if the annotation value is nullpublic static DbImportAnnotationMapper NewInstance(java.lang.String dbAttributeString, java.util.UUID uuid, java.lang.String label, java.lang.String text, java.lang.String labelAbbrev, Language language)
dbAttributeString
- uuid
- label
- text
- labelAbbrev
- public static DbImportAnnotationMapper NewInstance(java.lang.String dbAttributeString, AnnotationType annotationType)
dbAttributeString
- annotationType
- public static DbImportAnnotationMapper NewInstance(java.lang.String dbAttributeString, AnnotationType annotationType, Language language)
dbAttributeString
- annotationType
- language
- public void initialize(DbImportStateBase<?,?> state, java.lang.Class<? extends CdmBase> destinationClass)
initialize
in interface IDbImportMapper<DbImportStateBase<?,?>,AnnotatableEntity>
initialize
in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
public AnnotatableEntity invoke(java.sql.ResultSet rs, AnnotatableEntity annotatableEntity) throws java.sql.SQLException
invoke
in interface IDbImportMapper<DbImportStateBase<?,?>,AnnotatableEntity>
invoke
in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
java.sql.SQLException
protected AnnotatableEntity doInvoke(AnnotatableEntity annotatableEntity, java.lang.Object dbValue)
doInvoke
in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
protected AnnotationType getAnnotationType(CdmImportBase<?,?> currentImport, java.util.UUID uuid, java.lang.String label, java.lang.String text, java.lang.String labelAbbrev)
public java.lang.Class<java.lang.String> getTypeClass()
getTypeClass
in class CdmSingleAttributeMapperBase
Copyright © 2007-2020 EDIT. All Rights Reserved.