Class DataObjectIdentifierWithKey<T extends EntryObject<T,K>,K extends Key<T>>
java.lang.Object
org.opendaylight.yangtools.binding.impl.AbstractDataObjectReference<T,ExactDataObjectStep<?>>
org.opendaylight.yangtools.binding.impl.DataObjectIdentifierImpl<T>
org.opendaylight.yangtools.binding.impl.DataObjectIdentifierWithKey<T,K>
- All Implemented Interfaces:
Serializable
,BindingInstanceIdentifier
,DataObjectIdentifier<T>
,DataObjectIdentifier.WithKey<T,
,K> DataObjectReference<T>
,DataObjectReference.WithKey<T,
,K> KeyAware<K>
,Immutable
public final class DataObjectIdentifierWithKey<T extends EntryObject<T,K>,K extends Key<T>>
extends DataObjectIdentifierImpl<T>
implements DataObjectIdentifier.WithKey<T,K>
- See Also:
-
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>> -
Constructor Summary
ConstructorsConstructorDescriptionDataObjectIdentifierWithKey
(Void unused, Iterable<? extends @NonNull DataObjectStep<?>> steps) -
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.Return aDataObjectIdentifier
view of this reference, if possible.Methods inherited from class org.opendaylight.yangtools.binding.impl.DataObjectIdentifierImpl
contract, ofUnsafeSteps
Methods inherited from class org.opendaylight.yangtools.binding.impl.AbstractDataObjectReference
concat, equals, getLast, hashCode, steps, throwNSE, toSerialForm, toString, writeReplace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectIdentifier
isExact, isWildcarded, steps
Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectReference
builder, getPathArguments
Methods inherited from interface org.opendaylight.yangtools.binding.DataObjectReference.WithKey
getKey, key, toLegacy
-
Constructor Details
-
DataObjectIdentifierWithKey
public DataObjectIdentifierWithKey(Void unused, Iterable<? extends @NonNull DataObjectStep<?>> steps)
-
-
Method Details
-
lastStep
Description copied from interface:DataObjectReference
Return the last step of this reference.- Specified by:
lastStep
in interfaceDataObjectIdentifier.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> - 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>> - Overrides:
lastStep
in classAbstractDataObjectReference<T extends EntryObject<T,
K>, ExactDataObjectStep<?>> - Returns:
- the last step
-
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 interfaceDataObjectIdentifier.WithKey<T extends EntryObject<T,
K>, K extends Key<T>> - 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>> - Overrides:
toBuilder
in classDataObjectIdentifierImpl<T extends EntryObject<T,
K>> - Returns:
- A builder instance
-
toIdentifier
Description copied from interface:DataObjectReference
Return aDataObjectIdentifier
view of this reference, if possible.- 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>> - Overrides:
toIdentifier
in classDataObjectIdentifierImpl<T extends EntryObject<T,
K>> - Returns:
- A
DataObjectIdentifier
-