Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.svcmsg
Interface ResponseRef

All Superinterfaces:
Response, ResponseValues, java.io.Serializable
All Known Implementing Classes:
SvcMsgResponseFullRef, SvcMsgResponseRef

public interface ResponseRef
extends ResponseValues

This interface extends ResponseValues. It is used to marshal an object reference.


Method Summary
 int getRefId()
          Returns an int id that identifies the object (so-called remote object id).
 java.lang.Object getRefObject()
          Returns the actual object whose reference is being marshalled through this object.
 void setRefId(int refId)
          Sets the remote object id.
 void setRefObject(java.lang.Object obj)
          Sets the actual object whose reference is being marshalled through this object.

 

Methods inherited from interface oracle.svcmsg.ResponseValues
getBooleanValues, getIntValues, getLongValues, getObjectValues, setBooleanValues, setIntValues, setLongValues, setObjectValues

 

Methods inherited from interface oracle.svcmsg.Response
getName, getOperation

 

Method Detail

getRefId

int getRefId()
Returns an int id that identifies the object (so-called remote object id).
Returns:
the remote object id.

setRefId

void setRefId(int refId)
Sets the remote object id.
Parameters:
refId - the remote object id.

getRefObject

java.lang.Object getRefObject()
Returns the actual object whose reference is being marshalled through this object. Note that this reference should be marked as a transient so that the serialization process will not try to serialize the object itself.

These getter and setter are used to hold reference to the object being marshalled.

Returns:
the object.

setRefObject

void setRefObject(java.lang.Object obj)
Sets the actual object whose reference is being marshalled through this object. Note that this reference should be marked as a transient so that the serialization process will not try to serialize the object itself.

These getter and setter are used to hold reference to the object being marshalled.

Parameters:
obj - the object.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


Copyright © 1997, 2012, Oracle. All rights reserved.