# Interface: com.pnfsoftware.jeb.core.units.IUnitNotification

Description of a unit notification. Unit notifications are generated by units to keep track of oddities, warnings, errors, malformations, corruptions, or otherwise interesting areas of a unit. Initially, they are generated during the processing of the input. However, any client code \(in the general sense\) can add or remove notifications to a unit.

## Method: getAddress
- return type: `java.lang.String`

Description: Retrieve the optional address of this notification, if relevant. If the unit does support addressing \(ie, the unit implements [IAddressableUnit](IAddressableUnit)\), that field may be used by clients for easy navigation to the location of interest.
return: the optional address

## Method: getDescription
- return type: `java.lang.String`

Description: Get a custom description of the notification. This comes as a complement of the type, if necessary.
return: an optional description string

## Method: getKey
- return type: `java.lang.String`

Description: Retrieve the notification key \(or name\). For a given unit, only one notification with a given key may exist; adding a notification will erase a previously existing one.
return: the notification key

## Method: getTimestampMs
- return type: `long`

Description: Retrieve the creation timestamp of this notification.
return: timestamp in milliseconds since the unix epoch

## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.NotificationType`

Description: Get the notification type.
return: the non\-null type

