public interface EnumBuilder extends Type, AnnotableTypeBuilder
Enumeration
Modifier and Type | Method and Description |
---|---|
void |
setDescription(String description) |
Enumeration |
toInstance(Type definingType) |
void |
updateEnumPairsFromEnumTypeDef(org.opendaylight.yangtools.yang.model.api.type.EnumTypeDefinition enumTypeDef)
Updates this builder with data from
enumTypeDef . |
getFullyQualifiedName, getName, getPackageName
addAnnotation, addAnnotation
void setDescription(String description)
Enumeration toInstance(Type definingType)
void updateEnumPairsFromEnumTypeDef(org.opendaylight.yangtools.yang.model.api.type.EnumTypeDefinition enumTypeDef)
enumTypeDef
. Specifically this data represents list
of value-name pairs.enumTypeDef
- enum type definition as source of enum data for enumBuilder
Copyright © 2019 OpenDaylight. All rights reserved.