@Beta 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.
|
getBindingNamespaceType, getComment, getConstantDefinitions, getEnclosedTypes, getEnumerations, getImplements, getMethodDefinitions, getParentTypeForBuilder, getProperties, getYangSourceDefinition, isAbstract
getFullyQualifiedName, getName, getPackageName
getDescription, getModuleName, getReference, getSchemaPath
List<AnnotationType> getAnnotations()
getAnnotations
in interface GeneratedType
Type getParentType()
GeneratedType
null
getParentType
in interface GeneratedType
null
List<Enumeration.Pair> getValues()
String toFormattedString()
Copyright © 2019 OpenDaylight. All rights reserved.