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,
Restrictions restrictions,
ModuleContext context) |
Modifier and Type | Method and Description |
---|---|
static Restrictions |
BindingGeneratorUtil.getRestrictions(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> type) |
Modifier and Type | Method and Description |
---|---|
static ConcreteType |
Types.primitiveType(String primitiveType,
Restrictions restrictions)
Creates the instance of type
ConcreteType which represents primitive JAVA type for which package
doesn't exist. |
static ConcreteType |
Types.typeForClass(Class<?> cls,
Restrictions restrictions) |
static ConcreteType |
Types.typeForClass(Class<?> cls,
Restrictions restrictions,
ModuleContext moduleContext) |
Modifier and Type | Method and Description |
---|---|
void |
GeneratedTOBuilderImpl.setRestrictions(Restrictions restrictions) |
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,
Restrictions restrictions,
ModuleContext context)
Converts schema definition type
typeDefinition to JAVA
Type . |
Modifier and Type | Field and Description |
---|---|
protected Restrictions |
ClassRenderer.restrictions |
Modifier and Type | Method and Description |
---|---|
static Restrictions |
TextTemplateUtil.getRestrictions(Type currentType)
Extracts available restrictions from given type.
|
Modifier and Type | Method and Description |
---|---|
Restrictions |
GeneratedTransferObject.getRestrictions() |
Restrictions |
ConcreteType.getRestrictions() |
Restrictions |
BaseTypeWithRestrictions.getRestrictions() |
Modifier and Type | Method and Description |
---|---|
void |
GeneratedTOBuilder.setRestrictions(Restrictions restrictions) |
Copyright © 2019 OpenDaylight. All rights reserved.