Uses of Interface
org.opendaylight.yangtools.binding.model.api.Enumeration
Packages that use Enumeration
Package
Description
Model of Java classes generated from YANG.
-
Uses of Enumeration in org.opendaylight.yangtools.binding.codegen
Fields in org.opendaylight.yangtools.binding.codegen with type parameters of type EnumerationModifier and TypeFieldDescriptionprotected final List
<Enumeration> ClassTemplate.enums
List of enumeration which are generated as JAVA enum type.Methods in org.opendaylight.yangtools.binding.codegen with parameters of type EnumerationConstructors in org.opendaylight.yangtools.binding.codegen with parameters of type EnumerationModifierConstructorDescriptionEnumTemplate
(org.opendaylight.yangtools.binding.codegen.AbstractJavaGeneratedType javaType, Enumeration enums) Constructs instance of this class with concreteenums
.EnumTemplate
(Enumeration enums) Constructs instance of this class with concreteenums
. -
Uses of Enumeration in org.opendaylight.yangtools.binding.model.api
Methods in org.opendaylight.yangtools.binding.model.api that return types with arguments of type EnumerationModifier and TypeMethodDescriptionGeneratedType.getEnumerations()
Returns List of all Enumerator definitions associated with Generated Type. -
Uses of Enumeration in org.opendaylight.yangtools.binding.model.api.type.builder
Methods in org.opendaylight.yangtools.binding.model.api.type.builder that return EnumerationMethods in org.opendaylight.yangtools.binding.model.api.type.builder with parameters of type EnumerationModifier and TypeMethodDescriptionvoid
GeneratedTypeBuilderBase.addEnumeration
(Enumeration enumeration) Adds new Enumeration definition for Generated Type Builder and returns Enum Builder for specifying all Enum parameters.
If there is already Enumeration stored with the same name, the old enum will be simply overwritten byt new enum definition.
Name of Enumeration cannot benull
, if it isnull
the method SHOULD throwIllegalArgumentException
. -
Uses of Enumeration in org.opendaylight.yangtools.binding.model.ri.generated.type.builder
Methods in org.opendaylight.yangtools.binding.model.ri.generated.type.builder that return EnumerationModifier and TypeMethodDescriptionCodegenEnumerationBuilder.toInstance()
RuntimeEnumerationBuilder.toInstance()