DataObj Container Class

Purpose

Container class for a complete record. You can use this class to pass a complete record with all of its fields to a method. Methods that return a complete record return an instance of this class. Attribute names are case-sensitive.

For Platform objects, you must include the id and objDefName. For external objects, you must include the UID and objDefName.

Class Attributes

id

A string containing the record ID.

UID

A string containing the object ID for external objects, including objects mapped to OpenEdge Services.

objDefName

A string containing the object definition integration name.

DataFieldArr

An array of DataField instances containing the values for the record's fields.

Example

See getRecord() for an example.