Interface InstanceIdentifier.PathArgument

    • 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 when getType() references a node defined in a grouping which is reference inside a case statement in order to safely reference the node.
        Returns:
        Optional case class.