[gme-users] getname support in BON 2

James R. Davis bubba at isis.vanderbilt.edu
Thu Apr 15 09:30:11 CDT 2004


For model, atom, etc. the getName() function exists.  It is defined in class ObjectImpl, which is a base class for FCOImpl.  For attributes, getting the name of the attribute is effectively retrieving the kindname of the attribute.  This is why the information is accessed through MON -- it captures the meta-information.  This is a different process than accessing the value of an attribute, which is functionality provided by BON.

HTH,
Bubba
-----Original Message-----
From: Zhimin He [mailto:zh5f at cs.virginia.edu]
Sent: Wednesday, April 14, 2004 11:32 PM
To: gme-users
Subject: [gme-users] getname support in BON 2


It feels kinda awkward to go back to MON to get the name of the model, attribute, atom... I strongly suggest adding getname operation as part of the BON interface. Does anyone else share the same opinion?  
Zhimin 


More information about the gme-users mailing list