public abstract class AbstractColumnMaxValueIncrementer extends AbstractDataFieldMaxValueIncrementer
DataFieldMaxValueIncrementer
実装の抽象基本クラス。サブクラスは、AbstractDataFieldMaxValueIncrementer.getNextKey()
実装でそのテーブルの特定の処理を提供する必要があります。paddingLength
コンストラクターと説明 |
---|
AbstractColumnMaxValueIncrementer() Bean プロパティスタイルの使用のデフォルトコンストラクター。 |
AbstractColumnMaxValueIncrementer(DataSourceSE dataSource, StringSE incrementerName, StringSE columnName) 便利なコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
void | afterPropertiesSet() 指定されたすべての Bean プロパティを設定した(そして BeanFactoryAware と ApplicationContextAware を満たした)後に BeanFactory によって呼び出されます。 |
int | getCacheSize() バッファリングされたキーの数を返します。 |
StringSE | getColumnName() シーケンステーブルの列の名前を返します。 |
void | setCacheSize(int cacheSize) バッファリングされたキーの数を設定します。 |
void | setColumnName(StringSE columnName) シーケンステーブルの列の名前を設定します。 |
getDataSource, getIncrementerName, getNextKey, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setIncrementerName, setPaddingLength
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public AbstractColumnMaxValueIncrementer()
public AbstractColumnMaxValueIncrementer(DataSourceSE dataSource, StringSE incrementerName, StringSE columnName)
dataSource
- 使用する DataSourceincrementerName
- 使用するシーケンス / テーブルの名前 columnName
- 使用するシーケンステーブルの列の名前 public void setColumnName(StringSE columnName)
public StringSE getColumnName()
public void setCacheSize(int cacheSize)
public int getCacheSize()
public void afterPropertiesSet()
InitializingBean
このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されている場合にのみ可能な初期化を実行し、設定ミスの場合に例外をスローできます。
InitializingBean
の afterPropertiesSet
AbstractDataFieldMaxValueIncrementer
の afterPropertiesSet