|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.notification.InternalNotification
public class InternalNotification
This class represents an internal notification sent by the SAP CC system;
An internal notification message relates to an event exceptional or not that took place in
an instance of the SAP CC system and that must be handled by a mediation system
(from the 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
| Nested Class Summary | |
|---|---|
static class |
InternalNotification.ArgListType
|
static class |
InternalNotification.ArgType
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 arguments
java.lang.IllegalArgumentException - If desc is null or
if instanceId is null or
if argTypes does not match argValues| Method Detail |
|---|
public 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)
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||