Interface Enumeration.Pair

All Superinterfaces:
DocumentedNode, DocumentedNode.WithStatus
Enclosing interface:
Enumeration

public static interface Enumeration.Pair extends DocumentedNode.WithStatus
Interface is used for reading enumeration item. It means item's name and its value.
  • Method Details

    • getName

      String getName()
      Returns the name of the enumeration item as it is specified in the input YANG.
      Returns:
      the name of the enumeration item as it is specified in the input YANG.
    • getMappedName

      String getMappedName()
      Returns the binding representation for the name of the enumeration item.
      Returns:
      the binding representation for the name of the enumeration item.
    • getValue

      int getValue()
      Returns value of the enumeration item.
      Returns:
      the value of the enumeration item.