Exemple #1
0
  public void set_id(String _id) {
    MongoObjectId _idNew = new MongoObjectId();
    _idNew.set$oid(_id);
    this._id = _idNew;

    set_id_m(_id);
  }
Exemple #2
0
 public void set_id(MongoObjectId _id) {
   this._id = _id;
   set_id_m(_id.toString());
 }