Enum Class YangFunction

java.lang.Object
java.lang.Enum<YangFunction>
org.opendaylight.yangtools.yang.xpath.api.YangFunction
All Implemented Interfaces:
Serializable, Comparable<YangFunction>, Constable, Identifiable<QName>

public enum YangFunction extends Enum<YangFunction> implements Identifiable<QName>
Functions known to a YANG XPath.
Author:
Robert Varga
  • Enum Constant Details

  • Method Details

    • values

      public static YangFunction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static YangFunction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIdentifier

      public QName getIdentifier()
      Description copied from interface: Identifiable
      Return this objects Identifier.
      Specified by:
      getIdentifier in interface Identifiable<QName>
      Returns:
      Object's identifier, must not be null.
    • getYangVersion

      public YangVersion getYangVersion()
      Return the minimum YANG version where this function is supported.
      Returns:
      First YANG version where this function appeared.