Modifier and Type | Method and Description |
---|---|
Map<org.opendaylight.yangtools.yang.model.api.Module,ModuleContext> |
BindingGeneratorImpl.getModuleContexts(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
Return module contexts from generated types according to context.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeProvider.javaTypeForSchemaDefinitionType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> type,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
ModuleContext context)
Resolve of yang Type Definition to its java counter part.
|
Type |
TypeProvider.javaTypeForSchemaDefinitionType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> type,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
Restrictions restrictions,
ModuleContext context) |
Modifier and Type | Method and Description |
---|---|
static ConcreteType |
Types.typeForClass(Class<?> cls,
Restrictions restrictions,
ModuleContext moduleContext) |
static WildcardType |
Types.wildcardTypeFor(String packageName,
String typeName,
boolean isPkNameNormalized,
boolean isTypeNormalized,
ModuleContext context)
Creates instance of type
WildcardType . |
Constructor and Description |
---|
AbstractBaseType(String pkName,
String name,
boolean isPkNameNormalized,
boolean isTypeNormalized,
ModuleContext context) |
AbstractBaseType(String pkName,
String name,
boolean isNormalized,
ModuleContext context)
Constructs the instance of this class with the concrete package name type
name.
|
AbstractBaseType(String pkName,
String name,
ModuleContext context)
Constructs the instance of this class with the concrete package name type
name.
|
ReferencedTypeImpl(String packageName,
String name,
boolean isNormalized,
ModuleContext context)
Creates instance of this class with concrete package name and type name
for already normalized identifier.
|
ReferencedTypeImpl(String packageName,
String name,
ModuleContext context)
Creates instance of this class with concrete package name and type name.
|
Constructor and Description |
---|
EnumerationBuilderImpl(String packageName,
String name,
boolean isPkNameNormalized,
boolean isTypeNormalized,
ModuleContext context) |
EnumerationBuilderImpl(String packageName,
String name,
ModuleContext context) |
GeneratedTOBuilderImpl(String packageName,
String name,
boolean isPkNameNormalized,
boolean isTypeNormalized,
ModuleContext context) |
GeneratedTOBuilderImpl(String packageName,
String name,
ModuleContext context) |
GeneratedTypeBuilderImpl(String packageName,
String name,
boolean isPkNameNormalized,
boolean isTypeNormalized,
ModuleContext context) |
GeneratedTypeBuilderImpl(String packageName,
String name,
ModuleContext context) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeProviderImpl.javaTypeForSchemaDefinitionType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> type,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
ModuleContext context) |
Type |
TypeProviderImpl.javaTypeForSchemaDefinitionType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> type,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
Restrictions restrictions,
ModuleContext context)
Converts schema definition type
typeDefinition to JAVA
Type . |
GeneratedTOBuilder |
TypeProviderImpl.provideGeneratedTOBuilderForBitsTypeDefinition(String basePackageName,
org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> typeDef,
String typeDefName,
String moduleName,
ModuleContext context)
Converts
typeDef which should be of the type
BitsTypeDefinition to GeneratedTOBuilder . |
GeneratedTOBuilder |
TypeProviderImpl.provideGeneratedTOBuilderForUnionTypeDef(String basePackageName,
org.opendaylight.yangtools.yang.model.api.type.UnionTypeDefinition typedef,
String typeDefName,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
ModuleContext context)
Converts output list of generated TO builders to one TO builder (first
from list) which contains the remaining builders as its enclosing TO.
|
List<GeneratedTOBuilder> |
TypeProviderImpl.provideGeneratedTOBuildersForUnionTypeDef(String basePackageName,
org.opendaylight.yangtools.yang.model.api.type.UnionTypeDefinition typedef,
String typeDefName,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
ModuleContext context)
Converts
typedef to generated TO with
typeDefName . |
Type |
TypeProviderImpl.provideTypeForLeafref(org.opendaylight.yangtools.yang.model.api.type.LeafrefTypeDefinition leafrefType,
org.opendaylight.yangtools.yang.model.api.SchemaNode parentNode,
ModuleContext context)
Converts
leafrefType to JAVA Type . |
Modifier and Type | Method and Description |
---|---|
EnumBuilder |
GeneratedTypeBuilderBase.addEnumeration(String name,
ModuleContext context)
Adds new Enumeration definition for Generated Type Builder and returns
Enum Builder for specifying all Enum parameters.
|
Copyright © 2019 OpenDaylight. All rights reserved.