Try OpenEdge Now
skip to main content
Java Open Clients
Accessing ABL ProDataSets : ProDataRelationMetaData class : Constructors : Creating a data-relation from parent and child ProDataObjectMetaData
 
Creating a data-relation from parent and child ProDataObjectMetaData
The following constructor creates a ProDataRelationMetaData object with the specified ProDataObjectMetaData objects. After creating a ProDataRelationMetaData object using this constructor, use the object's setColumns() methods to set the key fields for the parent and child table relationships.

Syntax

ProDataRelationMetaData(String name, ProDataObjectMetaData parent,
                        ProDataObjectMetaData child)
name
Specifies the name of the ProDataRelationMetaData object.
parent
Specifies the parent ProDataObject type.
child
Specifies the child ProDataObject type.
For more information, see setColumns( ).