Interface Enumeration.Pair
- All Superinterfaces:
DocumentedNode
,DocumentedNode.WithStatus
- Enclosing interface:
Enumeration
Interface is used for reading enumeration item. It means item's name and its value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
Method Summary
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus
getStatus
-
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.
-