public final class ModuleEffectiveStatementImpl extends AbstractEffectiveDocumentedNode<String,D>
DocumentedNode.WithStatus
DEFAULT_SEMANTIC_VERSION
Constructor and Description |
---|
ModuleEffectiveStatementImpl(StmtContext<String,ModuleStatement,EffectiveStatement<String,ModuleStatement>> 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, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getReference
public ModuleEffectiveStatementImpl(StmtContext<String,ModuleStatement,EffectiveStatement<String,ModuleStatement>> ctx)
public QNameModule getQNameModule()
ModuleIdentifier
QNameModule
, which contains the namespace and
the revision of the module.public String getModuleSourcePath()
SourceStreamAware
getModuleSourcePath
in interface SourceStreamAware
public URI getNamespace()
ModuleIdentifier
namespace
keyword. If you need both namespace and revision, please consider using
ModuleIdentifier.getQNameModule()
.getNamespace
in interface ModuleIdentifier
public String getName()
ModuleIdentifier
module
keywordgetName
in interface ModuleIdentifier
public Date getRevision()
ModuleIdentifier
ModuleIdentifier.getQNameModule()
.getRevision
in interface ModuleIdentifier
revison
keywordpublic String getPrefix()
Module
public String getYangVersion()
Module
getYangVersion
in interface Module
yang-version
keywordpublic String getOrganization()
Module
getOrganization
in interface Module
organization
keywordpublic String getContact()
Module
getContact
in interface Module
contact
keywordpublic Set<ModuleImport> getImports()
Module
getImports
in interface Module
import
keywords.public Set<Module> getSubmodules()
getSubmodules
in interface Module
public Set<FeatureDefinition> getFeatures()
Module
FeatureDefinition
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 Module
feature
keywords.public Set<NotificationDefinition> getNotifications()
NotificationNodeContainer
getNotifications
in interface NotificationNodeContainer
public Set<AugmentationSchema> getAugmentations()
Module
AugmentationSchema
instances which contain data from
augment statements defined in the module.getAugmentations
in interface Module
augment
keyword and are
lexicographically orderedpublic Set<RpcDefinition> getRpcs()
Module
RpcDefinition
instances which contain data from
rpc statements defined in the module.public Set<Deviation> getDeviations()
Module
Deviation
instances which contain data from
deviation statements defined in the module.getDeviations
in interface Module
public List<ExtensionDefinition> getExtensionSchemaNodes()
Module
ExtensionDefinition
instances which contain data
from extension statements defined in the module.getExtensionSchemaNodes
in interface Module
extension
keyword and are
lexicographically orderedpublic Set<IdentitySchemaNode> getIdentities()
Module
IdentitySchemaNode
instances which contain data from
identity statements defined in the module.getIdentities
in interface Module
identity
keywords and are
lexicographically ordered@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
Module
getUnknownSchemaNodes
in interface DocumentedNode
getUnknownSchemaNodes
in interface Module
public final Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainer
getTypeDefinitions
in interface DataNodeContainer
public final Set<DataSchemaNode> getChildNodes()
DataNodeContainer
getChildNodes
in interface DataNodeContainer
public final Set<GroupingDefinition> getGroupings()
DataNodeContainer
getGroupings
in interface DataNodeContainer
public final DataSchemaNode getDataChildByName(QName name)
getDataChildByName
in interface DataNodeContainer
name
- QName of seeked childpublic Set<UsesNode> getUses()
getUses
in interface DataNodeContainer
public SemVer getSemanticVersion()
ModuleIdentifier
getSemanticVersion
in interface ModuleIdentifier
public void seal()
MutableStatement
seal
in interface MutableStatement
Copyright © 2018 OpenDaylight. All rights reserved.