com.develop.jawin
Class ObjectRef

java.lang.Object
  extended bycom.develop.jawin.Variant
      extended bycom.develop.jawin.ObjectRef
All Implemented Interfaces:
VarTypes, WellKnownGUIDs
Direct Known Subclasses:
BigIntegerRef, BooleanRef, ByteRef, CharRef, DateRef, DoubleRef, FloatRef, IntegerRef, LongRef, ShortRef, StringRef

public class ObjectRef
extends Variant

Simulates VARIANT value by reference

Author:
Vitally Shelest

Field Summary
 
Fields inherited from class com.develop.jawin.Variant
SIZEOF
 
Fields inherited from interface com.develop.jawin.constants.VarTypes
VARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VOID
 
Fields inherited from interface com.develop.jawin.constants.WellKnownGUIDs
IID_IClassFactory, IID_IDispatch, IID_IEnumVariant, IID_IUnknown
 
Constructor Summary
ObjectRef()
          Creates a new instance of an empty VARIANT value
ObjectRef(java.lang.Object obj)
          Creates a new instance of ObjectRef for a VARIANT value
 
Method Summary
 java.lang.Object getRef()
          Returns referenced object
 void setRef(java.lang.Object obj)
          Sets a new referensed object
 
Methods inherited from class com.develop.jawin.Variant
marshalIn, marshalInRef, marshalOut, marshalOutArray, marshalOutArraySkip, marshalOutRef, marshalOutSkip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectRef

public ObjectRef()
Creates a new instance of an empty VARIANT value


ObjectRef

public ObjectRef(java.lang.Object obj)
Creates a new instance of ObjectRef for a VARIANT value

Parameters:
obj - object
Method Detail

getRef

public java.lang.Object getRef()
Returns referenced object

Returns:
referenced object

setRef

public void setRef(java.lang.Object obj)
Sets a new referensed object

Parameters:
obj - object to store


Composia Soft Ltd. Designed by Vitally Shelest. .