public class

BusinessEvent

extends Object
java.lang.Object
   ↳ org.mule.modules.oracle.model.BusinessEvent

Class Overview

Represents a Business Events as retrieved from the queue.

Summary

Constants
String BES_EVENT_KEY
String BES_EVENT_NAME
String BES_FROM_AGENT
String BES_PRIORITY
String BES_SEND_DATE
String CUST_ACCOUNT_ID
String RESP_APPL_ID
String RESP_ID
String SECURITY_GROUP_ID
String USER_ID
Fields
private String besEventKey
private String besEventName
private String besFromAgent
private Integer besPriority
private String besSendDate
private String custAccountId
private String respApplId
private String respId
private String securityGroupId
private String userId
Public Constructors
BusinessEvent(String besSendDate, String respApplId, String userId, Integer besPriority, String securityGroupId, String custAccountId, String besEventKey, String respId, String besEventName, String besFromAgent)
Creates a new BusinessEvent.
Public Methods
static BusinessEvent fromMessage(Message msg)
Creates a BusinessEvent from the Message retrieved from the queue .
String getBesEventKey()
String getBesEventName()
String getBesFromAgent()
Integer getBesPriority()
String getBesSendDate()
String getCustAccountId()
String getRespApplId()
String getRespId()
String getSecurityGroupId()
String getUserId()
void toMessage(Message msg)
Populates the given Message with the attributes of this BusinessEvent.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String BES_EVENT_KEY

Constant Value: "BES_EVENT_KEY"

private static final String BES_EVENT_NAME

Constant Value: "BES_EVENT_NAME"

private static final String BES_FROM_AGENT

Constant Value: "BES_FROM_AGENT"

private static final String BES_PRIORITY

Constant Value: "BES_PRIORITY"

private static final String BES_SEND_DATE

Constant Value: "BES_SEND_DATE"

private static final String CUST_ACCOUNT_ID

Constant Value: "CUST_ACCOUNT_ID"

private static final String RESP_APPL_ID

Constant Value: "RESP_APPL_ID"

private static final String RESP_ID

Constant Value: "RESP_ID"

private static final String SECURITY_GROUP_ID

Constant Value: "SECURITY_GROUP_ID"

private static final String USER_ID

Constant Value: "USER_ID"

Fields

private String besEventKey

private String besEventName

private String besFromAgent

private Integer besPriority

private String besSendDate

private String custAccountId

private String respApplId

private String respId

private String securityGroupId

private String userId

Public Constructors

public BusinessEvent (String besSendDate, String respApplId, String userId, Integer besPriority, String securityGroupId, String custAccountId, String besEventKey, String respId, String besEventName, String besFromAgent)

Creates a new BusinessEvent.

Parameters
besSendDate
respApplId
userId
besPriority
securityGroupId
custAccountId
besEventKey
respId
besEventName
besFromAgent

Public Methods

public static BusinessEvent fromMessage (Message msg)

Creates a BusinessEvent from the Message retrieved from the queue .

Parameters
msg The Message.
Returns
Throws
JMSException If the required properties cannot be read or parsed from the Message.

public String getBesEventKey ()

Returns
  • the besEventKey

public String getBesEventName ()

Returns
  • the besEventName

public String getBesFromAgent ()

Returns
  • the besFromAgent

public Integer getBesPriority ()

Returns
  • the besPriority

public String getBesSendDate ()

Returns
  • the besSendDate

public String getCustAccountId ()

Returns
  • the custAccountId

public String getRespApplId ()

Returns
  • the respApplId

public String getRespId ()

Returns
  • the respId

public String getSecurityGroupId ()

Returns
  • the securityGroupId

public String getUserId ()

Returns
  • the userId

public void toMessage (Message msg)

Populates the given Message with the attributes of this BusinessEvent.

Parameters
msg The Message to populate.
Throws
JMSException If the properties cannot be written to the Message.

public String toString ()