Represents a meta-data column in a Cognos dataset.
Represents a Cognos dataset.
Represents a row of data.
Cognos Data Transfer Objects
DataSet class is a DTO used to convert POJO models directly to Cognos-XML.
Because of the nature of the Cognos XML syntax, only 2-dimensional POJO data structures can be serialized to Cognos-XML.
The following example shows how to generate Cognos-XML from a POJO.
The example uses the AddressBook sample POJO.
It should be noted that since the
AddressBook class is a subclass of
LinkedList, it fulfills
the requirement of being a tabular data structure.
When run, this code produces the following XML...
The following shows examples of what this data structure looks like when serialized to other formats:
DataSet class can be reconstructed from Cognos/XML using one of the standard XML parsers.
Copyright © 2018 Apache. All rights reserved.