クラスの使用
com.github.mygreen.sqlmapper.core.id.IdGenerationContext
-
IdGenerationContextを使用しているパッケージ パッケージ 説明 com.github.mygreen.sqlmapper.core.id IDの自動生成機能を提供します。com.github.mygreen.sqlmapper.core.meta エンティティ、カラムなどのメタ情報に関する機能を提供します。 -
-
com.github.mygreen.sqlmapper.core.idでのIdGenerationContextの使用
IdGenerationContext型のパラメータを持つcom.github.mygreen.sqlmapper.core.idのメソッド 修飾子とタイプ メソッド 説明 ObjectIdentityIdGenerator. generateValue(IdGenerationContext context)IDを新たに生成します。ObjectIdGenerator. generateValue(IdGenerationContext context)IDを新たに生成します。ObjectSequenceIdGenerator. generateValue(IdGenerationContext context)IDを新たに生成します。ObjectTableIdGenerator. generateValue(IdGenerationContext context)IDを新たに生成します。ObjectUUIDGenerator. generateValue(IdGenerationContext context)default Object[]IdGenerator. generateValues(IdGenerationContext context, int num)指定した個数分のIDを新たに生成します。 -
com.github.mygreen.sqlmapper.core.metaでのIdGenerationContextの使用
IdGenerationContext型の引数を持つ型を返すcom.github.mygreen.sqlmapper.core.metaのメソッド 修飾子とタイプ メソッド 説明 Optional<IdGenerationContext>PropertyMeta. getIdGenerationContext()生成対象の識別子の情報。IdGenerationContext型のパラメータを持つcom.github.mygreen.sqlmapper.core.metaのメソッド 修飾子とタイプ メソッド 説明 voidPropertyMeta. setIdGenerationContext(IdGenerationContext idGenerationContext)生成対象の識別子の情報を設定する。
-