Class SchemaNodeIdentifier.Absolute

java.lang.Object
org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute
All Implemented Interfaces:
Immutable
Enclosing class:
SchemaNodeIdentifier

public static final class SchemaNodeIdentifier.Absolute extends SchemaNodeIdentifier
An absolute schema node identifier.
  • Method Details

    • of

      public static @NonNull SchemaNodeIdentifier.Absolute of(QName nodeIdentifier)
      Create an absolute schema node identifier composed of a single node identifier.
      Parameters:
      nodeIdentifier - Single node identifier
      Returns:
      An absolute schema node identifier
      Throws:
      NullPointerException - if nodeIdentifier is null
    • of

      public static @NonNull SchemaNodeIdentifier.Absolute of(QName... nodeIdentifiers)
      Create an absolute schema node identifier composed of multiple node identifiers.
      Parameters:
      nodeIdentifiers - Node identifiers
      Returns:
      An absolute schema node identifier
      Throws:
      NullPointerException - if nodeIdentifiers or any of its members is null
      IllegalArgumentException - if nodeIdentifiers is empty
    • of

      public static @NonNull SchemaNodeIdentifier.Absolute of(Collection<QName> nodeIdentifiers)
      Create an absolute schema node identifier composed of multiple node identifiers.
      Parameters:
      nodeIdentifiers - Node identifiers
      Returns:
      An absolute schema node identifier
      Throws:
      NullPointerException - if nodeIdentifiers or any of its members is null
      IllegalArgumentException - if nodeIdentifiers is empty
    • intern

      public @NonNull SchemaNodeIdentifier.Absolute intern()
      Return an interned reference to an equivalent object.
      Returns:
      An interned reference, or this object if it was previously interned.