public interface IdentifierAccessor
TargetAwareIdentifierAccessor
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getIdentifier() 識別子の値を返します。 |
default ObjectSE | getRequiredIdentifier() 基になるインスタンスの識別子を返します。 |
default ObjectSE getRequiredIdentifier()
TargetAwareIdentifierAccessor
を継承するか、このメソッドをオーバーライドして、識別子がない場合にスローされる例外にコンテキストを追加する実装を強くお勧めします。IllegalStateExceptionSE
- 識別子を取得できなかった場合。Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.