# Interface SmiComplianceModule

public interface SmiComplianceModule
The `SmiComplianceModule` interface defines the attributes for the "Module" element of the SMIv2 MODULE-COMPLIANCE macro.

Since:
  1.7.0
Author:
  Frank Fock

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getMandatoryGroupNames()`
  Gets the mandatory group names as defined by the MANDATORY-GROUPS clause of this compliance module.
  `List<SmiGroup>`
  `getMandatoryGroups()`
  Gets the mandatory groups defined by this compliance module.
  `List<SmiObjectCompliance>`
  `getObjectCompliances()`
  Gets the object compliance specifications for this module as defined by the OBJECT constructs.

- ## Method Details

  - ### getMandatoryGroupNames

    List<String> getMandatoryGroupNames()
    Gets the mandatory group names as defined by the MANDATORY-GROUPS clause of this compliance module.
    Returns:
      a list of object names from the MANDATORY-GROUPS clause.

  - ### getMandatoryGroups

    List<SmiGroup> getMandatoryGroups()
    Gets the mandatory groups defined by this compliance module.
    Returns:
      a list of `SmiGroup` instances referenced by the MANDATORY-GROUPS clause.

  - ### getObjectCompliances

    List<SmiObjectCompliance> getObjectCompliances()
    Gets the object compliance specifications for this module as defined by the OBJECT constructs.
    Returns:
      a list of `SmiObjectCompliance` instances.