I - An object that is identifiable by an identifierT - The identifier of the objectpublic static class InstanceIdentifier.IdentifiableItem<I extends Identifiable<T> & DataObject,T extends Identifier<I>> extends Object
| Constructor and Description |
|---|
IdentifiableItem(Class<I> type,
T key)
Deprecated.
Use
of(Class, Identifier) instead. |
| Modifier and Type | Method and Description |
|---|---|
T |
getKey()
Return the data object type backing this PathArgument.
|
static <C extends ChoiceIn<?> & DataObject,T extends ChildOf<? super C> & Identifiable<I>,I extends Identifier<T>> |
of(Class<C> caseType,
Class<T> type,
I key)
Return an IdentifiableItem instance backed by the specified class with specified key.
|
static <T extends Identifiable<I> & DataObject,I extends Identifier<T>> |
of(Class<T> type,
I key)
Return an IdentifiableItem instance backed by the specified class with specified key.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCaseType@Deprecated public IdentifiableItem(Class<I> type, T key)
of(Class, Identifier) instead.type - Backing classkey - keypublic static <T extends Identifiable<I> & DataObject,I extends Identifier<T>> InstanceIdentifier.IdentifiableItem<T,I> of(Class<T> type, I key)
T - List typeI - Key typetype - Backing classkey - KeyNullPointerException - if any argument is null.public static <C extends ChoiceIn<?> & DataObject,T extends ChildOf<? super C> & Identifiable<I>,I extends Identifier<T>> InstanceIdentifier.IdentifiableItem<T,I> of(Class<C> caseType, Class<T> type, I key)
grouping used in a corresponding case statement.C - Case typeT - List typeI - Key typecaseType - defining case classtype - Backing classNullPointerException - if any argument is null.public final T getKey()
Copyright © 2018 OpenDaylight. All rights reserved.