Class DataObjectIdentifierImpl<T extends DataObject>
java.lang.Object
org.opendaylight.yangtools.binding.impl.AbstractDataObjectReference<T,ExactDataObjectStep<?>>
org.opendaylight.yangtools.binding.impl.DataObjectIdentifierImpl<T>
- All Implemented Interfaces:
Serializable
,BindingInstanceIdentifier
,DataObjectIdentifier<T>
,DataObjectReference<T>
,Immutable
- Direct Known Subclasses:
DataObjectIdentifierWithKey
public sealed class DataObjectIdentifierImpl<T extends DataObject>
extends AbstractDataObjectReference<T,ExactDataObjectStep<?>>
implements DataObjectIdentifier<T>
permits DataObjectIdentifierWithKey<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
ConstructorsConstructorDescriptionDataObjectIdentifierImpl
(Void unused, Iterable<? extends @NonNull DataObjectStep<?>> steps) -
Method Summary
Modifier and TypeMethodDescriptionprotected final Class
<?> contract()
static final @NonNull DataObjectIdentifierImpl
<?> ofUnsafeSteps
(ImmutableList<? extends @NonNull ExactDataObjectStep<?>> steps) 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.AbstractDataObjectReference
concat, equals, getLast, hashCode, lastStep, 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, lastStep, toLegacy
-
Constructor Details
-
DataObjectIdentifierImpl
-
-
Method Details
-
ofUnsafeSteps
public static final @NonNull DataObjectIdentifierImpl<?> ofUnsafeSteps(ImmutableList<? extends @NonNull ExactDataObjectStep<?>> steps) -
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 DataObject>
- Specified by:
toBuilder
in interfaceDataObjectReference<T extends DataObject>
- 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 DataObject>
- Returns:
- A
DataObjectIdentifier
-
contract
- Overrides:
contract
in classAbstractDataObjectReference<T extends DataObject,
ExactDataObjectStep<?>>
-