public class AvalonNotificationEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected T_LONGLONG |
aeId
The Id of the application element.
|
protected T_LONGLONG |
ieId
The Id of the instance.
|
protected short |
mode
The mode of the event.
|
protected java.lang.String |
timestamp
The timestamp of the event.
|
protected T_LONGLONG |
userId
The Id of the AoUser instance.
|
Constructor and Description |
---|
AvalonNotificationEvent(short mode,
int aeId,
long ieId,
long userId,
java.lang.String timestamp)
The constructor.
|
AvalonNotificationEvent(short mode,
T_LONGLONG aeId,
T_LONGLONG ieId,
T_LONGLONG userId,
java.lang.String timestamp)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
T_LONGLONG |
getApplicationElementId()
Get the Id of the application element.
|
T_LONGLONG |
getInstanceId()
Get the Id of the instance.
|
short |
getMode()
Get the mode of the notification.
|
java.lang.String |
getModeString()
Get the mode as a string.
|
java.lang.String |
getTimestamp()
Get the Id of the AoUser instance.
|
T_LONGLONG |
getUserId()
Get the Id of the AoUser instance.
|
protected long |
toLong(T_LONGLONG id)
Get long presentation of a T_LONGLONG.
|
protected T_LONGLONG |
toLongLong(long id)
Get T_LONGLONG presentation of a long.
|
java.lang.String |
toString()
Overwrite the toString method.
|
protected short mode
protected T_LONGLONG aeId
protected T_LONGLONG ieId
protected T_LONGLONG userId
protected java.lang.String timestamp
public AvalonNotificationEvent(short mode, int aeId, long ieId, long userId, java.lang.String timestamp)
mode
- the mode of the notification.aeId
- the Id of the application element, only the low part.ieId
- the Id of the instance.userId
- the Id of the AoUSer instance.timestamp
- the timestamp of the event.public AvalonNotificationEvent(short mode, T_LONGLONG aeId, T_LONGLONG ieId, T_LONGLONG userId, java.lang.String timestamp)
mode
- the mode of the notification.aeId
- the Id of the application element, only the low part.ieId
- the Id of the instance.userId
- the Id of the AoUSer instance.timestamp
- the timestamp of the event.public T_LONGLONG getApplicationElementId()
public T_LONGLONG getInstanceId()
public T_LONGLONG getUserId()
public java.lang.String getTimestamp()
protected T_LONGLONG toLongLong(long id)
id
- the long value.protected long toLong(T_LONGLONG id)
id
- a T_LONGLONG structurepublic short getMode()
public java.lang.String getModeString()
public java.lang.String toString()
toString
in class java.lang.Object