@NotThreadSafe public final class ModuleContext extends Object
Modifier and Type | Method and Description |
---|---|
void |
addAugmentType(GeneratedTypeBuilder builder) |
void |
addCaseType(org.opendaylight.yangtools.yang.model.api.SchemaPath path,
GeneratedTypeBuilder builder) |
void |
addChildNodeType(org.opendaylight.yangtools.yang.model.api.SchemaNode def,
GeneratedTypeBuilder builder) |
void |
addChoiceToCaseMapping(Type choiceType,
Type caseType,
org.opendaylight.yangtools.yang.model.api.CaseSchemaNode schema) |
void |
addGeneratedTOBuilder(GeneratedTOBuilder builder) |
void |
addGroupingType(org.opendaylight.yangtools.yang.model.api.GroupingDefinition def,
GeneratedTypeBuilder builder) |
void |
addIdentityType(org.opendaylight.yangtools.yang.model.api.IdentitySchemaNode def,
GeneratedTypeBuilder builder) |
void |
addModuleNode(GeneratedTypeBuilder newModuleNode) |
void |
addTopLevelNodeType(GeneratedTypeBuilder builder) |
void |
addTypedefType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> def,
Type type) |
void |
addTypeToAugmentation(GeneratedTypeBuilder builder,
org.opendaylight.yangtools.yang.model.api.AugmentationSchemaNode schema) |
protected void |
addTypeToSchema(Type type,
org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> typedef) |
List<GeneratedTypeBuilder> |
getAugmentations() |
GeneratedTypeBuilder |
getCase(org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> |
getCases() |
com.google.common.collect.BiMap<Type,org.opendaylight.yangtools.yang.model.api.CaseSchemaNode> |
getCaseTypeToSchemas() |
GeneratedTypeBuilder |
getChildNode(org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> |
getChildNodes() |
com.google.common.collect.Multimap<Type,Type> |
getChoiceToCases() |
GeneratedTypeBuilder |
getGrouping(org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> |
getGroupings() |
Map<org.opendaylight.yangtools.yang.common.QName,GeneratedTypeBuilder> |
getIdentities() |
Type |
getInnerType(org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
GeneratedTypeBuilder |
getModuleNode() |
Set<GeneratedTypeBuilder> |
getTopLevelNodes() |
Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,Type> |
getTypedefs() |
com.google.common.collect.BiMap<Type,org.opendaylight.yangtools.yang.model.api.AugmentationSchemaNode> |
getTypeToAugmentation() |
Map<Type,org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus> |
getTypeToSchema()
Returns mapping of type to its schema.
|
public GeneratedTypeBuilder getModuleNode()
public GeneratedTypeBuilder getChildNode(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public GeneratedTypeBuilder getGrouping(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public GeneratedTypeBuilder getCase(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public void addModuleNode(GeneratedTypeBuilder newModuleNode)
public void addGeneratedTOBuilder(GeneratedTOBuilder builder)
public void addChildNodeType(org.opendaylight.yangtools.yang.model.api.SchemaNode def, GeneratedTypeBuilder builder)
public void addGroupingType(org.opendaylight.yangtools.yang.model.api.GroupingDefinition def, GeneratedTypeBuilder builder)
public void addTypedefType(org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> def, Type type)
public void addCaseType(org.opendaylight.yangtools.yang.model.api.SchemaPath path, GeneratedTypeBuilder builder)
public void addIdentityType(org.opendaylight.yangtools.yang.model.api.IdentitySchemaNode def, GeneratedTypeBuilder builder)
public void addTopLevelNodeType(GeneratedTypeBuilder builder)
public void addAugmentType(GeneratedTypeBuilder builder)
public Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> getChildNodes()
public Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> getGroupings()
public Map<org.opendaylight.yangtools.yang.model.api.SchemaPath,GeneratedTypeBuilder> getCases()
public Map<org.opendaylight.yangtools.yang.common.QName,GeneratedTypeBuilder> getIdentities()
public Set<GeneratedTypeBuilder> getTopLevelNodes()
public List<GeneratedTypeBuilder> getAugmentations()
public com.google.common.collect.BiMap<Type,org.opendaylight.yangtools.yang.model.api.AugmentationSchemaNode> getTypeToAugmentation()
public void addTypeToAugmentation(GeneratedTypeBuilder builder, org.opendaylight.yangtools.yang.model.api.AugmentationSchemaNode schema)
public void addChoiceToCaseMapping(Type choiceType, Type caseType, org.opendaylight.yangtools.yang.model.api.CaseSchemaNode schema)
public com.google.common.collect.BiMap<Type,org.opendaylight.yangtools.yang.model.api.CaseSchemaNode> getCaseTypeToSchemas()
public Map<Type,org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus> getTypeToSchema()
DataSchemaNode
or AugmentationSchemaNode
.protected void addTypeToSchema(Type type, org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> typedef)
public Type getInnerType(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
Copyright © 2019 OpenDaylight. All rights reserved.