基本自訂 > User Interface Customization > Gathering the Data for the UI > NmObject Utilities > Implement getOid() on your row data object
  
Implement getOid() on your row data object
This procedure describes the preferred technique for specifying the identifier that should be used for table/tree row selections and actions when the row object is not a Persistable object. This technique is not applicable for specifying a target object that is different from the datum object for determining attribute values.
To use this technique you should modify the row objects to expose an API called getOid(), which should return a unique identifier for the row.
The getOid() method should return one the following data types:
String – which will map to a NmSimpleOid if it’s not a valid WTReference
ObjectIdentifier
NmOid
If is not possible to provide a getOid() method --- for example, if such an API already exists and is not appropriate, you can specify a “target” object for the panel or row. See Configure a Different Target Object for more information.
NmObject Utilities