Interface InstanceIdentifier.PathArgument
-
- All Superinterfaces:
Comparable<InstanceIdentifier.PathArgument>
- All Known Implementing Classes:
InstanceIdentifier.IdentifiableItem
,InstanceIdentifier.Item
- Enclosing class:
- InstanceIdentifier<T extends DataObject>
public static interface InstanceIdentifier.PathArgument extends Comparable<InstanceIdentifier.PathArgument>
Path argument ofInstanceIdentifier
. Interface which implementations are used as path components of the path in overall data tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<? extends Class<? extends DataObject>>
getCaseType()
Return an optional enclosing case type.@NonNull Class<? extends DataObject>
getType()
Return the data object type backing this PathArgument.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getType
@NonNull Class<? extends DataObject> getType()
Return the data object type backing this PathArgument.- Returns:
- Data object type.
-
getCaseType
default Optional<? extends Class<? extends DataObject>> getCaseType()
Return an optional enclosing case type. This is used only whengetType()
references a node defined in agrouping
which is reference inside acase
statement in order to safely reference the node.- Returns:
- Optional case class.
-
-