# Interface SmiImport

public interface SmiImport
The SmiImport represents an element within the IMPORTS construct of a SMIv1 or SMv2 MIB module.

Since:
  1.2 (Pro edition only)
Author:
  Frank Fock

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAsn1Comment()`
  Gets the ASN.1 comment associated with this IMPORT element.
  `List<String>`
  `getImportedObjectNames()`
  Gets the list of imported object names from the MIB module specified by `getSourceModuleName()`.
  `String`
  `getSourceModuleName()`
  Gets the MIB module name of the IMPORT source (i.e. the module on which this module depends on.

- ## Method Details

  - ### getSourceModuleName

    String getSourceModuleName()
    Gets the MIB module name of the IMPORT source (i.e. the module on which this module depends on.
    Returns:
      a MIB module name (e.g. `SNMPv2-MIB`).

  - ### getImportedObjectNames

    List<String> getImportedObjectNames()
    Gets the list of imported object names from the MIB module specified by `getSourceModuleName()`.
    Returns:
      the list of imported object names.

  - ### getAsn1Comment

    String getAsn1Comment()
    Gets the ASN.1 comment associated with this IMPORT element.
    Returns:
      the ASN.1 comment or `null` if no comment is available.