public class

EcxMsg

extends Object
implements Serializable ORAData
java.lang.Object
   ↳ org.mule.modules.oracle.model.EcxMsg

Class Overview

Represents an XML Gateway Outbound message as retrieved from the queue.

Summary

Constants
String SQL_NAME The name of the data type in the Oracle database.
long serialVersionUID Serial Version UID.
Fields
private static final ORADataFactory FACTORY The ORADataFactory data factory.
private String attribute1
private String attribute2
private String attribute3
private String attribute4
private String attribute5
private String documentNumber
private String messageStandard
private String messageType
private String partyId
private String partySiteId
private String partyType
private String password
private String payload
private String protocolAddress
private String protocolType
private String transactionSubtype
private String transactionType
private String username
Public Constructors
EcxMsg(String messageType, String messageStandard, String transactionType, String transactionSubtype, String documentNumber, String partyId, String partySiteId, String partyType, String protocolType, String protocolAddress, String username, String password, String payload, String attribute1, String attribute2, String attribute3, String attribute4, String attribute5)
Creates a new EcxMsg.
Public Methods
static String clobToString(CLOB clob)
String getAttribute1()
String getAttribute2()
String getAttribute3()
String getAttribute4()
String getAttribute5()
String getDocumentNumber()
String getMessageStandard()
String getMessageType()
static ORADataFactory getORADataFactory()
String getPartyId()
String getPartySiteId()
String getPartyType()
String getPassword()
String getPayload()
String getProtocolAddress()
String getProtocolType()
String getTransactionSubtype()
String getTransactionType()
String getUsername()
Map<String, Object> propertiesMap()
Returns a Map with all the attributes in this class, except for "payload".
void setAttribute1(String attribute1)
void setAttribute2(String attribute2)
void setAttribute3(String attribute3)
void setAttribute4(String attribute4)
void setAttribute5(String attribute5)
void setDocumentNumber(String documentNumber)
void setMessageStandard(String messageStandard)
void setMessageType(String messageType)
void setPartyId(String partyId)
void setPartySiteId(String partySiteId)
void setPartyType(String partyType)
void setPassword(String password)
void setPayload(String payload)
void setProtocolAddress(String protocolAddress)
void setProtocolType(String protocolType)
void setTransactionSubtype(String transactionSubtype)
void setTransactionType(String transactionType)
void setUsername(String username)
CLOB stringToClob(OracleConnection connection, String string)
Datum toDatum(Connection connection)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface oracle.sql.ORAData

Constants

private static final String SQL_NAME

The name of the data type in the Oracle database.

Constant Value: "SYSTEM.ECXMSG"

private static final long serialVersionUID

Serial Version UID.

Constant Value: -1424667788368319218 (0xec3a9031d75d6d0e)

Fields

private static final ORADataFactory FACTORY

The ORADataFactory data factory.

private String attribute1

private String attribute2

private String attribute3

private String attribute4

private String attribute5

private String documentNumber

private String messageStandard

private String messageType

private String partyId

private String partySiteId

private String partyType

private String password

private String payload

private String protocolAddress

private String protocolType

private String transactionSubtype

private String transactionType

private String username

Public Constructors

public EcxMsg (String messageType, String messageStandard, String transactionType, String transactionSubtype, String documentNumber, String partyId, String partySiteId, String partyType, String protocolType, String protocolAddress, String username, String password, String payload, String attribute1, String attribute2, String attribute3, String attribute4, String attribute5)

Creates a new EcxMsg.

Parameters
messageType
messageStandard
transactionType
transactionSubtype
documentNumber
partyId
partySiteId
partyType
protocolType
protocolAddress
username
password
payload
attribute1
attribute2
attribute3
attribute4
attribute5

Public Methods

public static String clobToString (CLOB clob)

Parameters
clob
Throws
SQLException

public String getAttribute1 ()

public String getAttribute2 ()

public String getAttribute3 ()

public String getAttribute4 ()

public String getAttribute5 ()

public String getDocumentNumber ()

public String getMessageStandard ()

public String getMessageType ()

public static ORADataFactory getORADataFactory ()

public String getPartyId ()

public String getPartySiteId ()

public String getPartyType ()

public String getPassword ()

public String getPayload ()

public String getProtocolAddress ()

public String getProtocolType ()

public String getTransactionSubtype ()

public String getTransactionType ()

public String getUsername ()

public Map<String, Object> propertiesMap ()

Returns a Map with all the attributes in this class, except for "payload". Use this to send all secondary data from an ECXMSG as Mule properties.

Returns
  • The Map.

public void setAttribute1 (String attribute1)

Parameters
attribute1

public void setAttribute2 (String attribute2)

Parameters
attribute2

public void setAttribute3 (String attribute3)

Parameters
attribute3

public void setAttribute4 (String attribute4)

Parameters
attribute4

public void setAttribute5 (String attribute5)

Parameters
attribute5

public void setDocumentNumber (String documentNumber)

Parameters
documentNumber

public void setMessageStandard (String messageStandard)

Parameters
messageStandard

public void setMessageType (String messageType)

Parameters
messageType

public void setPartyId (String partyId)

Parameters
partyId

public void setPartySiteId (String partySiteId)

Parameters
partySiteId

public void setPartyType (String partyType)

Parameters
partyType

public void setPassword (String password)

Parameters
password

public void setPayload (String payload)

Parameters
payload

public void setProtocolAddress (String protocolAddress)

Parameters
protocolAddress

public void setProtocolType (String protocolType)

Parameters
protocolType

public void setTransactionSubtype (String transactionSubtype)

Parameters
transactionSubtype

public void setTransactionType (String transactionType)

Parameters
transactionType

public void setUsername (String username)

Parameters
username

public CLOB stringToClob (OracleConnection connection, String string)

Parameters
connection
string
Throws
SQLException

public Datum toDatum (Connection connection)

Parameters
connection
Throws
SQLException

public String toString ()