getid

getidgetid
  1. In db4o , the OID for a given object can be found through a call to db . ext () . getID () .

    在db4o中,可以通过调用db.ext().getID()查找给定对象的OID。

  2. Take a look at the generated code , and notice that the getter and setter methods for ID ( getID and setID ) and name ( getName and setName ), as well as a validate method , have been created .

    看一下生成的代码,您会看到其中已经创建了ID的getter和setter方法(getID和setID)、name的getter和setter方法(getName和setName)以及一个validate方法。