インターフェース DataFieldMaxValueIncrementerFactory
- すべての既知の実装クラス:
DefaultDataFieldMaxValueIncrementerFactory
public interface DataFieldMaxValueIncrementerFactory
提供された文字列に基づいて
DataFieldMaxValueIncrementer
実装を作成するためのファクトリ。- 作成者:
- Lucas Ward, Mahmoud Ben Hassine
メソッドのサマリー
修飾子と型メソッド説明org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
getIncrementer
(StringSE databaseType, StringSE incrementerName) 指定されたデータベース型のDataFieldMaxValueIncrementer
を返します。StringSE[]
サポートされているデータベースインクリメンター型のリストを返しますboolean
isSupportedIncrementerType
(StringSE databaseType) 指定された文字列がこのファクトリでサポートされているかどうかを示すブール値を返します。
メソッドの詳細
getIncrementer
org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getIncrementer(StringSE databaseType, StringSE incrementerName) 指定されたデータベース型のDataFieldMaxValueIncrementer
を返します。- パラメーター:
databaseType
- データベースの型を表す文字列incrementerName
- 作成するインクリメンター名。多くの場合、これはシーケンス名かもしれません- 戻り値:
- インクリメンター
- 例外:
IllegalArgumentExceptionSE
- databaseType が無効な型であるか、incrementerName が null の場合。
isSupportedIncrementerType
指定された文字列がこのファクトリでサポートされているかどうかを示すブール値を返します。- パラメーター:
databaseType
- データベースの型を含むString
SE。- 戻り値:
- incrementerType がこのデータベース型でサポートされている場合は true。それ以外の場合は false が返されます。
getSupportedIncrementerTypes
StringSE[] getSupportedIncrementerTypes()サポートされているデータベースインクリメンター型のリストを返します- 戻り値:
- サポートされているインクリメンタ型を含む
String
SE の配列。