SAP CC 1.0
API 4.2 (Core)

com.highdeal.notification
Class NotificationDescription

java.lang.Object
  extended by com.highdeal.notification.NotificationDescription

public class NotificationDescription
extends java.lang.Object

A notification description has an unique identifier, a name, a pretty name, a severity level, a module and a set of additional info description.


Method Summary
 java.lang.String[] getAdditionalInfoKeys()
          Returns the additional info descriptions of the notification.
 java.lang.String getName()
          Returns the name of the notification.
 java.lang.String getPrettyName()
          Returns the pretty name of the notification.
 NotificationLevel getSeverityLevel()
          Returns the severity level of the notification.
 int getUid()
          Returns the unique identifier of the notification.
 boolean isHandled()
          Checks if the notification is handled or not.
 void isHandled(boolean isHandled)
          Sets if the notification is handled or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAdditionalInfoKeys

public java.lang.String[] getAdditionalInfoKeys()
Returns the additional info descriptions of the notification.

Returns:
an array of string that can be null.

getName

public java.lang.String getName()
Returns the name of the notification.

Returns:
the name

getPrettyName

public java.lang.String getPrettyName()
Returns the pretty name of the notification.

Returns:
the pretty name

getSeverityLevel

public NotificationLevel getSeverityLevel()
Returns the severity level of the notification.

Returns:
the severity level

getUid

public int getUid()
Returns the unique identifier of the notification.

Returns:
the uid

isHandled

public void isHandled(boolean isHandled)
Sets if the notification is handled or not.

Parameters:
isHandled - true if the notification is handled, false otherwise.

isHandled

public boolean isHandled()
Checks if the notification is handled or not.

If not the notification described by this description won't be generated.

Returns:
true if the notification is handled, false otherwise.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.