public interface Enumeration extends GeneratedType
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Enumeration.Pair
Interface is used for reading enumeration item. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<AnnotationType> | 
getAnnotations()
Returns list of annotation definitions associated with enumeration type. 
 | 
Type | 
getParentType()
Returns the parent type if Generated Type is defined as enclosing type, otherwise returns  
null. | 
List<Enumeration.Pair> | 
getValues()
Returns list of the couples - name and value. 
 | 
String | 
toFormattedString()
Formats enumeration according to rules of the programming language. 
 | 
getComment, getConstantDefinitions, getEnclosedTypes, getEnumerations, getImplements, getMethodDefinitions, getProperties, getYangSourceDefinition, isAbstractgetFullyQualifiedName, getName, getPackageNamegetDescription, getModuleName, getReference, getSchemaPathList<AnnotationType> getAnnotations()
getAnnotations in interface GeneratedTypeType getParentType()
GeneratedTypenull.getParentType in interface GeneratedTypenullList<Enumeration.Pair> getValues()
String toFormattedString()
Copyright © 2019 OpenDaylight. All rights reserved.