getRelationType()

Retrieves the type of relationship between a parent business object and a child business object.

Syntax

char * getRelationType();
 

Return values

A relationship type. Currently the only relationship type is Containment, which indicates that the parent business object contains one or multiple child business objects. If the attribute is not a child business object, the getRelationType() method returns a null value.

See also

hasCardinality(), isMultipleCard(), isObjectType()

Copyright IBM Corp. 1997, 2003