/**
* contents method comment.
*/
public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents()
{
UnionDef unionDef =
UnionDefHelper.narrow((org.omg.CORBA.Object)this.irObject);
UnionMember[] members = unionDef.members();
Contained[] contents = unionDef.contents( org.omg.CORBA.DefinitionKind.dk_all, false);
org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
new org.jacorb.ir.gui.typesystem.TypeSystemNode[members.length + contents.length];
for (int i=0; i<members.length; i++) {
result[i] = RemoteTypeSystem.createTypeSystemNode(members[i]);