public static ConflictAlgorithmType getConflictAlgorithmType ( SQLiteModelMethod method ) { ModelAnnotation annotation = method . getAnnotation ( BindSqlInsert . class ) ; String value = annotation . getAttribute ( AnnotationAttributeType . CONFLICT_ALGORITHM_TYPE ) ; if ( value != null && value . indexOf ( "." ) > - 1 ) { value = value . substring ( value . lastIndexOf ( "." ) + 1 ) ; } ConflictAlgorithmType conflictAlgorithmType = ConflictAlgorithmType . valueOf ( value ) ; return conflictAlgorithmType ; }
Gets the conflict algorithm type .