if (registerable && vorbaId == null) {
// Try to use the associated factory.
if (__vorba != null)
- if ((vorbaId = __vorba.makeVorbaId()) == null)
+ if ((vorbaId = __vorba.makeVorbaId(this)) == null)
return null; // Factory not valid.
else {
this.setInstanceIdField();
* Implementation note for the todo:
* this works like a depth-first search over all vamsas objects in an vamsasDocument.
* The doHash() function is used as the 'visited' flag -
- * this *is not* a valid heuristic, although it will work "most of the time".
+ * this *is not* a valid heuristic, although it will work "most of the time".
+ * TODO: LATER? Add another method for setDefaultProvenanceField (in the spirit of setInstanceIdField) using the info from the __vorba.getClient/User/Session methods
*/
protected void __ensure_instance_ids() {
if (__vorba==null)