Package com.caplin.datasource.messaging.record


package com.caplin.datasource.messaging.record

This package defines the interfaces for sending Record messages. Records comprise Name-Value pairs of fields which represent the values of a Subject. The data in a record can be structured in one of four different ways, known as Type 1 data, Type 2 data, Type 3 data or Generic; for more information about this, see the document Caplin DataSource Overview.

Generic messages behave similarly to RecordType1 messages, however the field mappings are integral in the case of a Generic message, which can eliminate the need to configure them separately in a fields.conf file. This may be useful when receiving updates from a provider which supplies a variable or unknown number of fields.

The record package contains the classes that are used to create record messages containing these different structures:

  • Interfaces
    Class
    Description
    Interface for sending Generic messages, adding fields by name and value.
    Base interface for all Record messages.
    Interface for sending Type 1 Record messages, adding fields by field name.
    Interface for populating Type 2 Record messages, adding fields by field name.
    Interface for populating Type 3 Record messages, adding fields by field name.
    Interface for wrapping multiple messages of the same type together into one message.