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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMappedName()
Returns the binding representation for the name of the enumeration item.String
getName()
Returns the name of the enumeration item as it is specified in the input YANG.int
getValue()
Returns value of the enumeration item.-
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 Detail
-
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.
-
-