Class for holding and manipulating the data about financial transaction. Includes parsing an XML file, storing data internally, and transcription of read data to a PADO object that enables saving data to a database.
More...
|
| MsgFinancialTransaction () |
| Default constructor, sets the type information. More...
|
|
override void | Read () |
| Reads msg data from the internal XML document containing the msg. More...
|
|
override void | Read (XmlParser data) |
| Read msg data from an XML document containing the msg. More...
|
|
override void | CheckConsistency (AccummulatedReport rep) |
| Check correctness and consistency of data and creates a report on this. More...
|
|
override string | ToString () |
|
override XmlDocument | ToXml () |
| Converts a msg to Xml and returns it. More...
|
|
void | SetModelFile (string FilePath) |
| Sets the model document for creation of the msg to the contents of the specified file. More...
|
|
void | SetModelString (string XmlString) |
| Sets the model document for creation of the msg to the contents of the specified string. More...
|
|
void | SetModelDocument (XmlDocument doc) |
| Sets the model document for creation of the msg to the contents of the specified string. More...
|
|
void | SetSenderLabex () |
| Sets msg data such that sender is Labex and receiver is Bis. More...
|
|
void | SetSenderBis () |
| Sets msg data such that sender is Bis and receiver is Labex. More...
|
|
virtual void | Save (string filename) |
| Saves contents of the msg to an xml file. More...
|
|
virtual void | CreateXml () |
| Creates msg Xml from the current msg data and stores it in this object. More...
|
|
virtual void | Load (string filename) |
| Loads msg data from a file containing the XML msg. More...
|
|
virtual void | LoadXml (string doc) |
| Loads msg data from a string containing the XML msg. More...
|
|
virtual void | LoadXml (XmlDocument doc) |
| Loads msg data from an XmlDocument containing XML msg. More...
|
|
virtual void | WriteToConsole () |
| Writes cntents of the msg in a human readable form to the system console. More...
|
|
virtual void | Write (string filename, bool append) |
| Writes cntents of the msg in a human readable form to a file. More...
|
|
|
static void | SetMessageReceiverOld (ref XmlDocument msg, string receiver, out bool changed) |
| Sets the receiver of the communication msg stored in msg to the specified receiver, and indicates through an output argument whether the receiver has been changed in msg. If the receiver stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. WARNING: searching for receiver element is done through an XPath expression, which may fail due to default namespaces that were not detected. More...
|
|
static void | SetMessageReceiver (ref string message, string receiver, out bool changed) |
| Sets the receiver of the communication msg stored in msg to the specified receiver, and indicates through an output argument whether the receiver has been changed in msg. If the receiver stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. More...
|
|
static void | SetMessageReceiver (ref XmlDocument msg, string receiver, out bool changed) |
| Sets the receiver of the communication msg stored in msg to the specified receiver, and indicates through an output argument whether the receiver has been changed in msg. If the receiver stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. More...
|
|
static void | SetMessageReceiver (ref XmlBuilder data, string receiver, out bool changed) |
| Sets the receiver of the communication msg stored in an Xml builder to the specified receiver, and indicates through an output argument whether the receiver has been changed in msg. If the receiver stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. More...
|
|
static void | SetMessageSender (ref XmlBuilder data, string sender, out bool changed) |
| Sets the sender of the communication msg stored in an Xml builder to the specified sender, and indicates through an output argument whether the sender has been changed in msg. If the Sender stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. More...
|
|
static void | SetMessageResponder (ref XmlBuilder data, string responder, out bool changed) |
| Sets the responder of the communication msg stored in an Xml builder to the specified responder, and indicates through an output argument whether the responder has been changed in msg. If the responder stated in the msg already equals to the specified one then nothing changes in the msg and the output indicator becomes false. More...
|
|
static MessageType | GetMessageType (string msgstring) |
| Infers the msg type from the XML string containing the msg, and returns it. More...
|
|
static MessageType | GetMessageType (XmlDocument msg) |
| Infers the msg type from the XML document containing the msg, and returns it. More...
|
|
static MessageType | GetMessageType (XmlParser data) |
| Infers the msg type from the XML parser containing the msg, and returns it. More...
|
|
MessageType | Type = MessageType.Unknown |
| Message type. Helps with general methods that operate on any datatype of msg. More...
|
|
string | MessageId = null |
| Message ID, obtained form the web service. More...
|
|
string | MessageFile = null |
| Specifies the file where message has been backed up. Warning: this file may be deleted at any time! More...
|
|
string | MessageNumber = null |
|
string | XmlString = null |
|
static string | LabexIdLowercase = null |
|
Class for holding and manipulating the data about financial transaction. Includes parsing an XML file, storing data internally, and transcription of read data to a PADO object that enables saving data to a database.