public final class SubmoduleEffectiveStatementImpl extends AbstractEffectiveDocumentedNode<String,D>
DocumentedNode.WithStatusDEFAULT_SEMANTIC_VERSION| Constructor and Description |
|---|
SubmoduleEffectiveStatementImpl(StmtContext<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<AugmentationSchema> |
getAugmentations()
Returns
AugmentationSchema instances which contain data from
augment statements defined in the module. |
Set<DataSchemaNode> |
getChildNodes()
Returns set of all child nodes defined within this DataNodeContainer.
|
String |
getContact()
Returns the module contact.
|
DataSchemaNode |
getDataChildByName(QName name) |
Set<Deviation> |
getDeviations()
Returns
Deviation instances which contain data from
deviation statements defined in the module. |
List<ExtensionDefinition> |
getExtensionSchemaNodes()
Returns
ExtensionDefinition instances which contain data
from extension statements defined in the module. |
Set<FeatureDefinition> |
getFeatures()
Returns
FeatureDefinition instances which contain data from
feature statements defined in the module. |
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
Set<IdentitySchemaNode> |
getIdentities()
Returns
IdentitySchemaNode instances which contain data from
identity statements defined in the module. |
Set<ModuleImport> |
getImports()
Returns imports which represents YANG modules which are imported to this
module via import statement.
|
String |
getModuleSourcePath()
Get descriptive source path (usually file path) from which this module was parsed.
|
String |
getName()
Returns the name of the module which is specified as argument of YANG
module keyword |
URI |
getNamespace()
Returns the namespace of the module which is specified as argument of
YANG
namespace
keyword. |
Set<NotificationDefinition> |
getNotifications()
All implementations should override this method.
|
String |
getOrganization()
Returns the module organization.
|
String |
getPrefix()
Returns the prefix of the module
|
QNameModule |
getQNameModule()
Returns a
QNameModule, which contains the namespace and
the revision of the module. |
Date |
getRevision()
Returns the revision date for the module.
|
Set<RpcDefinition> |
getRpcs()
Returns
RpcDefinition instances which contain data from
rpc statements defined in the module. |
SemVer |
getSemanticVersion()
Returns the semantic version of yang module.
|
String |
getSource()
Get YANG source.
|
Set<Module> |
getSubmodules() |
Set<TypeDefinition<?>> |
getTypeDefinitions()
Returns set of all newly defined types within this DataNodeContainer.
|
List<UnknownSchemaNode> |
getUnknownSchemaNodes()
Returns unknown nodes defined in module.
|
Set<UsesNode> |
getUses() |
String |
getYangVersion()
Returns the YANG version.
|
int |
hashCode() |
void |
seal()
Finish statement and make it immutable.
|
String |
toString() |
getDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getReferencepublic SubmoduleEffectiveStatementImpl(StmtContext<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>> ctx)
public QNameModule getQNameModule()
ModuleIdentifierQNameModule, which contains the namespace and
the revision of the module.public String getModuleSourcePath()
SourceStreamAwaregetModuleSourcePath in interface SourceStreamAwarepublic URI getNamespace()
ModuleIdentifiernamespace
keyword. If you need both namespace and revision, please consider using
ModuleIdentifier.getQNameModule().getNamespace in interface ModuleIdentifierpublic String getName()
ModuleIdentifiermodule keywordgetName in interface ModuleIdentifierpublic Date getRevision()
ModuleIdentifierModuleIdentifier.getQNameModule().getRevision in interface ModuleIdentifierrevison
keywordpublic String getPrefix()
Modulepublic String getYangVersion()
ModulegetYangVersion in interface Module yang-version keywordpublic String getOrganization()
ModulegetOrganization in interface Moduleorganization keywordpublic String getContact()
ModulegetContact in interface Modulecontact keywordpublic Set<ModuleImport> getImports()
ModulegetImports in interface Moduleimport keywords.public Set<Module> getSubmodules()
getSubmodules in interface Modulepublic Set<FeatureDefinition> getFeatures()
ModuleFeatureDefinition instances which contain data from
feature statements defined in the module.
The feature is used to define a mechanism by which portions of the schema
are marked as conditional.getFeatures in interface Modulefeature keywords.public Set<NotificationDefinition> getNotifications()
NotificationNodeContainergetNotifications in interface NotificationNodeContainerpublic Set<AugmentationSchema> getAugmentations()
ModuleAugmentationSchema instances which contain data from
augment statements defined in the module.getAugmentations in interface Moduleaugment keyword and are
lexicographically orderedpublic Set<RpcDefinition> getRpcs()
ModuleRpcDefinition instances which contain data from
rpc statements defined in the module.public Set<Deviation> getDeviations()
ModuleDeviation instances which contain data from
deviation statements defined in the module.getDeviations in interface Modulepublic List<ExtensionDefinition> getExtensionSchemaNodes()
ModuleExtensionDefinition instances which contain data
from extension statements defined in the module.getExtensionSchemaNodes in interface Moduleextension keyword and are
lexicographically orderedpublic Set<IdentitySchemaNode> getIdentities()
ModuleIdentitySchemaNode instances which contain data from
identity statements defined in the module.getIdentities in interface Moduleidentity keywords and are
lexicographically ordered@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
ModulegetUnknownSchemaNodes in interface DocumentedNodegetUnknownSchemaNodes in interface Modulepublic final Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainergetTypeDefinitions in interface DataNodeContainerpublic final Set<DataSchemaNode> getChildNodes()
DataNodeContainergetChildNodes in interface DataNodeContainerpublic final Set<GroupingDefinition> getGroupings()
DataNodeContainergetGroupings in interface DataNodeContainerpublic final DataSchemaNode getDataChildByName(QName name)
getDataChildByName in interface DataNodeContainername - QName of seeked childpublic Set<UsesNode> getUses()
getUses in interface DataNodeContainerpublic SemVer getSemanticVersion()
ModuleIdentifiergetSemanticVersion in interface ModuleIdentifierpublic void seal()
MutableStatementseal in interface MutableStatementCopyright © 2018 OpenDaylight. All rights reserved.