org.neodatis.odb.impl.core.server
Interface ReturnValue

All Known Implementing Classes:
ChangedValueNotification

public interface ReturnValue

Author:
olivier

Method Summary
 OID getOid()
           
 void setOid(NonNativeObjectInfo nnoi, OID oid)
          This is called by the server side module to inform the oid of a specific NonNativeObject
 

Method Detail

setOid

void setOid(NonNativeObjectInfo nnoi,
            OID oid)
This is called by the server side module to inform the oid of a specific NonNativeObject
 Return value are used by insert triggers to inform the client side when values are changed by the server. As the trigger is called before storing the object,
 the non native object info, that represent the object to be stored doesn't have OID yet. When the NNOI is stored, the server sets its oid. And call  this method 
 to inform the ReturnValue oids of the objects that are being stored. So the return value can manage its way to retrieve the right oid! 
 
 

Parameters:
nnoi -
oid -

getOid

OID getOid()
Returns:
The OID of the object being changed. Depending of the return type, it can be null