Interface KeyAware<T extends Key<? extends EntryObject<?,T>>>
- Type Parameters:
T
- Identifier class for this object
- All Known Subinterfaces:
DataObjectIdentifier.WithKey<T,
,K> DataObjectReference.WithKey<T,
,K> EntryObject<T,
K>
- All Known Implementing Classes:
AbstractEntryObject
,DataObjectIdentifierWithKey
,DataObjectReferenceWithKey
,KeyedInstanceIdentifier
,KeyStep
public sealed interface KeyAware<T extends Key<? extends EntryObject<?,T>>>
permits EntryObject<T,K>, DataObjectReference.WithKey<T,K>, KeyStep<K,T>
Identifiable object, which could be identified by it's key.
-
Method Summary
-
Method Details
-
key
@NonNull T key()Returns an unique key for the object.- Returns:
- Key for the object
-