# Interface SmiNotificationType

All Superinterfaces:
  `Comparable<SmiObject>, SmiObject`

public interface SmiNotificationType extends SmiObject
The SmiNotificationType interface extends the `SmiObject` by attributes specific to the SMI NOTIFICATION-TYPE and TRAP-TYPE constructs, for example the OBJECTS clause.

Version:
  1.7.0
Author:
  Frank Fock

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getObjectNames()`
  Return the object names of the notification payload as defined by the OBJECTS (SMIv2) or VARIABLES (SMIv1 TRAP-TYPE) clause.
  `List<SmiObjectType>`
  `getObjects()`
  Gets the object definitions from the OBJECTS clause

  ### Methods inherited from interface Comparable

  `compareTo`

  ### Methods inherited from interface SmiObject

  `getAsn1Comments, getChildren, getDescription, getObjectName, getOID, getParent, getReference, getSmiSyntax, getStatus, getSyntax, getType`

- ## Method Details

  - ### getObjects

    List<SmiObjectType> getObjects()
    Gets the object definitions from the OBJECTS clause
    Returns:
      a list of `SmiObjectType` instances.
    Since:
      1.7.0

  - ### getObjectNames

    List<String> getObjectNames()
    Return the object names of the notification payload as defined by the OBJECTS (SMIv2) or VARIABLES (SMIv1 TRAP-TYPE) clause.
    Returns:
      a list of object names.
    Since:
      1.7.0