Class DataObjectReferenceImpl<T extends DataObject>
java.lang.Object
org.opendaylight.yangtools.binding.impl.AbstractDataObjectReference<T,DataObjectStep<?>>
org.opendaylight.yangtools.binding.impl.DataObjectReferenceImpl<T>
- All Implemented Interfaces:
Serializable
,DataObjectReference<T>
,Immutable
- Direct Known Subclasses:
DataObjectReferenceWithKey
public sealed class DataObjectReferenceImpl<T extends DataObject>
extends AbstractDataObjectReference<T,DataObjectStep<?>>
permits DataObjectReferenceWithKey<T,K>
- See Also:
-
Nested Class Summary
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
ConstructorsConstructorDescriptionDataObjectReferenceImpl
(Iterable<? extends @NonNull DataObjectStep<?>> steps) -
Method Summary
Modifier and TypeMethodDescriptionstatic final @NonNull DataObjectReferenceImpl
<?> ofUnsafeSteps
(ImmutableList<? extends @NonNull DataObjectStep<?>> 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, contract, equals, firstKeyOf, 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.DataObjectReference
builder, findFirstKeyOf, getFirstKeyOf, getPathArguments, isExact, isWildcarded, toLegacy
-
Constructor Details
-
DataObjectReferenceImpl
-
-
Method Details
-
ofUnsafeSteps
public static final @NonNull DataObjectReferenceImpl<?> ofUnsafeSteps(ImmutableList<? extends @NonNull DataObjectStep<?>> steps) -
toBuilder
Description copied from interface:DataObjectReference
Create a newDataObjectReference.Builder
initialized to produce a reference equal to this one.- Returns:
- A builder instance
-
toIdentifier
Description copied from interface:DataObjectReference
Return aDataObjectIdentifier
view of this reference, if possible.- Returns:
- A
DataObjectIdentifier
-