public class InternalNotification
extends java.lang.Object
generated rated transactions included in
the answers of the charging operation requests), but not by an external system.
An internal notification informs about where, when and what happened. It includes:
predefined description related to the event
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalNotification.ArgListType |
static class |
InternalNotification.ArgType |
| Constructor and Description |
|---|
InternalNotification()
Empty constructor
|
InternalNotification(java.lang.String systemName,
java.lang.String instanceId,
long timestamp,
NotificationDescription desc,
java.lang.Object[] argTypes,
java.lang.Object[] argValues)
Initializes an internal notification with the identifier of the system instance where
the event took place, the date when it occurred, a
predefined description
of what happened and a list of arguments to provide specific complementary information about the event. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArgTypes()
Returns the arguments of this notification
|
java.lang.Object[] |
getArgValues()
Returns the arguments of this notification
|
NotificationDescription |
getDesc()
Returns the
description of this notification. |
java.lang.String |
getInstanceId()
Returns the instance ID where the event described by this notification took place
|
java.lang.String |
getSystemName()
Returns the name of the SAP CC system of the instance where the event took place
|
long |
getTimestamp()
Returns the date when the event described by this notification occurred
|
void |
setArgTypes(java.lang.Object[] argTypes) |
void |
setArgValues(java.lang.Object[] argValues) |
void |
setDesc(NotificationDescription desc) |
void |
setInstanceId(java.lang.String instanceId) |
void |
setSystemName(java.lang.String systemName) |
void |
setTimestamp(long timestamp) |
java.lang.String |
toString()
Returns a string representation of the instance ID, the date, unique identifier
and the specific arguments of a notification.
|
public InternalNotification()
public InternalNotification(java.lang.String systemName,
java.lang.String instanceId,
long timestamp,
NotificationDescription desc,
java.lang.Object[] argTypes,
java.lang.Object[] argValues)
throws java.lang.IllegalArgumentException
predefined description
of what happened and a list of arguments to provide specific complementary information about the event.
The list of argument types and is specified by the predefined description.systemName - The name of the SAP CC system that includes the instance that sends the notificationinstanceId - The ID of the system instance where the event took placetimestamp - Date and time of the related event signaled by the notificationdesc - The predefined description of the notificationargTypes - The type of the argumentsargValues - The value of the argumentsjava.lang.IllegalArgumentException - If desc is null or
if instanceId is null or
if argTypes does not match argValuespublic final java.lang.String getSystemName()
public final java.lang.String getInstanceId()
public final long getTimestamp()
public final NotificationDescription getDesc()
description of this notification.public final java.lang.Object[] getArgValues()
public final java.lang.Object[] getArgTypes()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setSystemName(java.lang.String systemName)
public void setInstanceId(java.lang.String instanceId)
public void setDesc(NotificationDescription desc)
public void setTimestamp(long timestamp)
public void setArgValues(java.lang.Object[] argValues)
public void setArgTypes(java.lang.Object[] argTypes)