Interface Module

    • Method Detail

      • getName

        String getName()
        Returns the name of the module which is specified as argument of YANG module statement.
        Returns:
        string with the name of the module
      • getQNameModule

        QNameModule getQNameModule()
        Returns a QNameModule, which contains the namespace and the revision of the module.
        Returns:
        QNameModule identifier.
      • getNamespace

        default URI getNamespace()
        Returns the namespace of the module which is specified as argument of YANG namespace keyword. If you need both namespace and revision, please consider using getQNameModule().
        Specified by:
        getNamespace in interface NamespaceRevisionAware
        Returns:
        URI format of the namespace of the module
      • getRevision

        default Optional<Revision> getRevision()
        Returns the revision date for the module. If you need both namespace and revision, please consider using getQNameModule().
        Specified by:
        getRevision in interface NamespaceRevisionAware
        Returns:
        date of the module revision which is specified as argument of YANG revison statement
      • getSemanticVersion

        Optional<SemVer> getSemanticVersion()
        Returns the semantic version of YANG module. If the semantic version is not specified, default semantic version of module is returned.
        Returns:
        SemVer semantic version of YANG module which is specified as argument of (urn:opendaylight:yang:extension:semantic-version?revision=2016-02-02)semantic-version statement
      • getPrefix

        String getPrefix()
        Returns the prefix of the module.
        Returns:
        string with the module prefix which is specified as argument of YANG prefix statement
      • getYangVersion

        YangVersion getYangVersion()
        Returns the YANG version.
        Returns:
        YANG version of this module.
      • getOrganization

        Optional<String> getOrganization()
        Returns the module organization.
        Returns:
        string with the name of the organization specified in the module as the argument of YANG organization statement
      • getContact

        Optional<String> getContact()
        Returns the module contact.

        The contact represents the person or persons to whom technical queries concerning this module should be sent, such as their name, postal address, telephone number, and electronic mail address.

        Returns:
        string with the contact data specified in the module as the argument of YANG contact statement
      • getImports

        Collection<? extends ModuleImport> getImports()
        Returns imports which represents YANG modules which are imported to this module via import statement.
        Returns:
        set of module imports which are specified in the module as the argument of YANG import statements.
      • getFeatures

        Collection<? extends FeatureDefinition> getFeatures()
        Returns 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.

        Returns:
        feature statements in lexicographical order which are specified in the module as the argument of YANG feature statements.
      • getAugmentations

        Collection<? extends AugmentationSchemaNode> getAugmentations()
        Returns AugmentationSchemaNode instances which contain data from augment statements defined in the module.
        Returns:
        set of the augmentation schema instances which are specified in the module as YANG augment statement and are lexicographically ordered
      • getRpcs

        Collection<? extends RpcDefinition> getRpcs()
        Returns RpcDefinition instances which contain data from rpc statements defined in the module.
        Returns:
        set of the RPC definition instances which are specified in the module as YANG rpc statements and are lexicographicaly ordered
      • getDeviations

        Collection<? extends Deviation> getDeviations()
        Returns Deviation instances which contain data from deviation statements defined in the module.
        Returns:
        set of the deviation instances
      • getIdentities

        Collection<? extends IdentitySchemaNode> getIdentities()
        Returns IdentitySchemaNode instances which contain data from identity statements defined in the module.
        Returns:
        set of identity schema node instances which are specified in the module as YANG identity statements and are lexicographically ordered
      • getExtensionSchemaNodes

        Collection<? extends ExtensionDefinition> getExtensionSchemaNodes()
        Returns ExtensionDefinition instances which contain data from extension statements defined in the module.
        Returns:
        set of extension definition instances which are specified in the module as YANG extension statements and are lexicographically ordered