Interface DataObjectIdentifier.WithKey<T extends EntryObject<T,K>,K extends Key<T>>
- Type Parameters:
T
- EntryObject typeK
- Key type
- All Superinterfaces:
BindingInstanceIdentifier
,DataObjectIdentifier<T>
,DataObjectReference<T>
,DataObjectReference.WithKey<T,
,K> Immutable
,KeyAware<K>
,PathLike
,Serializable
- All Known Implementing Classes:
DataObjectIdentifierWithKey
- Enclosing interface:
DataObjectIdentifier<T extends DataObject>
public static sealed interface DataObjectIdentifier.WithKey<T extends EntryObject<T,K>,K extends Key<T>>
extends DataObjectIdentifier<T>, DataObjectReference.WithKey<T,K>
permits DataObjectIdentifierWithKey<T,K>
A
DataObjectIdentifier
pointing to an EntryObject
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.binding.BindingInstanceIdentifier
BindingInstanceIdentifier.Step
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.binding.DataObjectIdentifier
DataObjectIdentifier.Builder<T extends DataObject>, DataObjectIdentifier.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> Nested classes/interfaces inherited from interface org.opendaylight.yangtools.binding.DataObjectReference
DataObjectReference.Builder<T extends DataObject>, DataObjectReference.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> -
Method Summary
Modifier and TypeMethodDescriptionlastStep()
Return the last step of this reference.Create a newDataObjectReference.Builder
initialized to produce a reference equal to this one.default DataObjectIdentifier.WithKey
<T, K> Deprecated, for removal: This API element is subject to removal in a future version.This method should not be directly invoked.Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectIdentifier
isExact, isWildcarded, steps, trimTo, tryTrimTo
Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectReference
builder, getPathArguments
Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectReference.WithKey
getKey, key, toLegacy
Methods inherited from interface org.opendaylight.yangtools.binding.PathLike
findFirstKeyOf, firstKeyOf, getFirstKeyOf
-
Method Details
-
lastStep
Description copied from interface:DataObjectReference
Return the last step of this reference.- Specified by:
lastStep
in interfaceDataObjectReference<T extends EntryObject<T,
K>> - Specified by:
lastStep
in interfaceDataObjectReference.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> - Returns:
- the last step
-
toBuilder
DataObjectIdentifier.Builder.WithKey<T,K> toBuilder()Description copied from interface:DataObjectReference
Create a newDataObjectReference.Builder
initialized to produce a reference equal to this one.- Specified by:
toBuilder
in interfaceDataObjectIdentifier<T extends EntryObject<T,
K>> - Specified by:
toBuilder
in interfaceDataObjectReference<T extends EntryObject<T,
K>> - Specified by:
toBuilder
in interfaceDataObjectReference.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> - Returns:
- A builder instance
-
toIdentifier
@Deprecated(since="14.0.15", forRemoval=true) default DataObjectIdentifier.WithKey<T,K> toIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.This method should not be directly invoked.Returns this instance.- Specified by:
toIdentifier
in interfaceDataObjectIdentifier<T extends EntryObject<T,
K>> - Specified by:
toIdentifier
in interfaceDataObjectReference<T extends EntryObject<T,
K>> - Specified by:
toIdentifier
in interfaceDataObjectReference.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> - Returns:
- this instance
-