インターフェース ObjectIdentityGenerator

すべての既知の実装クラス:
ObjectIdentityRetrievalStrategyImpl

public interface ObjectIdentityGenerator
オブジェクト識別子(主キーなど)と型情報から ObjectIdentity を作成する戦略。

ObjectIdentityRetrievalStrategy とは異なり、実際のオブジェクトインスタンスが使用できない状況で使用されます。

導入:
3.0
  • メソッドの詳細

    • createObjectIdentity

      ObjectIdentity createObjectIdentity(SerializableSE id, StringSE type)
      パラメーター:
      id - null ではなく、ドメインオブジェクトの識別子
      type - オブジェクトの型(多くの場合、クラス名)、null ではない
      戻り値:
      提供された識別子と型情報を使用して構築されたアイデンティティ。