Interface Enumeration
- All Superinterfaces:
DocumentedType
,GeneratedType
,Identifiable<JavaTypeName>
,Type
Interface provide methods for reading data of enumeration class.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Interface is used for reading enumeration item. -
Method Summary
Modifier and TypeMethodDescriptionReturns list of the couples - name and value.Formats enumeration according to rules of the programming language.Methods inherited from interface org.opendaylight.yangtools.binding.model.api.DocumentedType
getDescription, getModuleName, getReference
Methods inherited from interface org.opendaylight.yangtools.binding.model.api.GeneratedType
getAnnotations, getComment, getConstantDefinitions, getEnclosedTypes, getEnumerations, getImplements, getMethodDefinitions, getProperties, getYangSourceDefinition, isAbstract
Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifier
Methods inherited from interface org.opendaylight.yangtools.binding.model.api.Type
getFullyQualifiedName, getName, getPackageName
-
Method Details
-
getValues
List<Enumeration.Pair> getValues()Returns list of the couples - name and value.- Returns:
- list of the enumeration pairs.
-
toFormattedString
String toFormattedString()Formats enumeration according to rules of the programming language.- Returns:
- string with source code in some programming language
-