com.ibm.di.automation
Class VARIANT

java.lang.Object
  extended by com.ibm.di.automation.VARIANT
All Implemented Interfaces:
Serializable

public class VARIANT
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 int m_pVARIANT
           
 
Constructor Summary
VARIANT()
           
VARIANT(boolean in)
           
VARIANT(double in)
           
VARIANT(int in)
           
VARIANT(Object in)
           
VARIANT(Object o, boolean fByRef)
           
VARIANT(SafeArray in, boolean fByRef)
           
VARIANT(String in)
           
 
Method Summary
 VARIANT cloneIndirect()
           
 boolean getBoolean()
           
 boolean getBooleanRef()
           
 byte getByte()
           
 byte getByteRef()
           
 long getCurrency()
           
 long getCurrencyRef()
           
 double getDate()
           
 double getDateRef()
           
 Object getDispatch()
           
 Object getDispatchRef()
           
 double getDouble()
           
 double getDoubleRef()
           
 void getEmpty()
           
 int getError()
           
 int getErrorRef()
           
 float getFloat()
           
 float getFloatRef()
           
 int getInt()
           
 int getIntRef()
           
 void getNull()
           
 Object getObject()
           
 Object getObjectRef()
           
 short getShort()
           
 short getShortRef()
           
 String getString()
           
 String getStringRef()
           
 short getvt()
           
protected  void init()
           
 boolean isNull()
           
 void Load(InputStream is)
           
 void putBoolean(boolean in)
           
 void putBooleanRef(boolean in)
           
 void putBSTR(BSTR in)
           
 void putByte(byte in)
           
 void putByteRef(byte in)
           
 void putCurrency(long in)
           
 void putCurrencyRef(long in)
           
 void putDate(double in)
           
 void putDateRef(double in)
           
 void putDispatch(Object in)
           
 void putDispatchRef(Object in)
           
 void putDouble(double in)
           
 void putDoubleRef(double in)
           
 void putEmpty()
           
 void putError(int in)
           
 void putErrorRef(int in)
           
 void putFloat(float in)
           
 void putFloatRef(float in)
           
 void putInt(int in)
           
 void putIntRef(int in)
           
 void putLong(long in)
           
 void putNull()
           
 void putObject(Object in)
           
 void putObjectRef(Object in)
           
 void putSafeArray(SafeArray in)
           
 void putSafeArrayRef(SafeArray in)
           
 void putShort(short in)
           
 void putShortRef(short in)
           
 void putString(String in)
           
 void putStringRef(String in)
           
 void release()
           
 void Save(OutputStream os)
           
 boolean toBoolean()
           
 byte toByte()
           
 long toCurrency()
           
 double toDate()
           
 IDispatch toDispatch()
           
 double toDouble()
           
 int toError()
           
 float toFloat()
           
 int toInt()
           
 Object toObject()
           
 SafeArray toSafeArray()
           
 SafeArray toSafeArray(boolean deepCopy)
           
 short toShort()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_pVARIANT

public int m_pVARIANT
Constructor Detail

VARIANT

public VARIANT()

VARIANT

public VARIANT(int in)

VARIANT

public VARIANT(double in)

VARIANT

public VARIANT(boolean in)

VARIANT

public VARIANT(String in)

VARIANT

public VARIANT(SafeArray in,
               boolean fByRef)

VARIANT

public VARIANT(Object in)
        throws COMError
Throws:
COMError

VARIANT

public VARIANT(Object o,
               boolean fByRef)
        throws COMError
Throws:
COMError
Method Detail

toInt

public int toInt()
          throws COMError
Throws:
COMError

toDate

public double toDate()
              throws COMError
Throws:
COMError

toBoolean

public boolean toBoolean()
                  throws COMError
Throws:
COMError

cloneIndirect

public VARIANT cloneIndirect()
                      throws COMError
Throws:
COMError

toDouble

public double toDouble()
                throws COMError
Throws:
COMError

toCurrency

public long toCurrency()
                throws COMError
Throws:
COMError

toString

public String toString()
Overrides:
toString in class Object

toDispatch

public IDispatch toDispatch()
                     throws COMError
Throws:
COMError

toByte

public byte toByte()
            throws COMError
Throws:
COMError

toError

public int toError()
            throws COMError
Throws:
COMError

toObject

public Object toObject()

toFloat

public float toFloat()
              throws COMError
Throws:
COMError

toSafeArray

public SafeArray toSafeArray()
                      throws COMError
Throws:
COMError

toSafeArray

public SafeArray toSafeArray(boolean deepCopy)
                      throws COMError
Throws:
COMError

putShortRef

public void putShortRef(short in)
                 throws COMError
Throws:
COMError

putIntRef

public void putIntRef(int in)
               throws COMError
Throws:
COMError

putDoubleRef

public void putDoubleRef(double in)
                  throws COMError
Throws:
COMError

putDateRef

public void putDateRef(double in)
                throws COMError
Throws:
COMError

putStringRef

public void putStringRef(String in)
                  throws COMError
Throws:
COMError

putShort

public void putShort(short in)
              throws COMError
Throws:
COMError

putInt

public void putInt(int in)
            throws COMError
Throws:
COMError

putLong

public void putLong(long in)
             throws COMError
Throws:
COMError

putDate

public void putDate(double in)
             throws COMError
Throws:
COMError

putDispatch

public void putDispatch(Object in)
                 throws COMError
Throws:
COMError

putBoolean

public void putBoolean(boolean in)
                throws COMError
Throws:
COMError

putByte

public void putByte(byte in)
             throws COMError
Throws:
COMError

putEmpty

public void putEmpty()
              throws COMError
Throws:
COMError

putError

public void putError(int in)
              throws COMError
Throws:
COMError

putCurrency

public void putCurrency(long in)
                 throws COMError
Throws:
COMError

putObject

public void putObject(Object in)
               throws COMError
Throws:
COMError

putDouble

public void putDouble(double in)
               throws COMError
Throws:
COMError

putFloatRef

public void putFloatRef(float in)
                 throws COMError
Throws:
COMError

putCurrencyRef

public void putCurrencyRef(long in)
                    throws COMError
Throws:
COMError

putErrorRef

public void putErrorRef(int in)
                 throws COMError
Throws:
COMError

putBooleanRef

public void putBooleanRef(boolean in)
                   throws COMError
Throws:
COMError

putObjectRef

public void putObjectRef(Object in)
                  throws COMError
Throws:
COMError

putByteRef

public void putByteRef(byte in)
                throws COMError
Throws:
COMError

putString

public void putString(String in)
               throws COMError
Throws:
COMError

putNull

public void putNull()
             throws COMError
Throws:
COMError

getNull

public void getNull()
             throws COMError
Throws:
COMError

getShortRef

public short getShortRef()
                  throws COMError
Throws:
COMError

getIntRef

public int getIntRef()
              throws COMError
Throws:
COMError

getShort

public short getShort()
               throws COMError
Throws:
COMError

getDoubleRef

public double getDoubleRef()
                    throws COMError
Throws:
COMError

getDateRef

public double getDateRef()
                  throws COMError
Throws:
COMError

getStringRef

public String getStringRef()
                    throws COMError
Throws:
COMError

getInt

public int getInt()
           throws COMError
Throws:
COMError

getDate

public double getDate()
               throws COMError
Throws:
COMError

getDispatch

public Object getDispatch()
                   throws COMError
Throws:
COMError

getBoolean

public boolean getBoolean()
                   throws COMError
Throws:
COMError

getByte

public byte getByte()
             throws COMError
Throws:
COMError

getEmpty

public void getEmpty()
              throws COMError
Throws:
COMError

getError

public int getError()
             throws COMError
Throws:
COMError

getDouble

public double getDouble()
                 throws COMError
Throws:
COMError

getObject

public Object getObject()
                 throws COMError
Throws:
COMError

getCurrency

public long getCurrency()
                 throws COMError
Throws:
COMError

getString

public String getString()
                 throws COMError
Throws:
COMError

getFloatRef

public float getFloatRef()
                  throws COMError
Throws:
COMError

getCurrencyRef

public long getCurrencyRef()
                    throws COMError
Throws:
COMError

getErrorRef

public int getErrorRef()
                throws COMError
Throws:
COMError

getBooleanRef

public boolean getBooleanRef()
                      throws COMError
Throws:
COMError

getObjectRef

public Object getObjectRef()
                    throws COMError
Throws:
COMError

getByteRef

public byte getByteRef()
                throws COMError
Throws:
COMError

putSafeArrayRef

public void putSafeArrayRef(SafeArray in)
                     throws COMError
Throws:
COMError

putSafeArray

public void putSafeArray(SafeArray in)
                  throws COMError
Throws:
COMError

putBSTR

public void putBSTR(BSTR in)
             throws COMError
Throws:
COMError

getFloat

public float getFloat()
               throws COMError
Throws:
COMError

putFloat

public void putFloat(float in)
              throws COMError
Throws:
COMError

putDispatchRef

public void putDispatchRef(Object in)
                    throws COMError
Throws:
COMError

getDispatchRef

public Object getDispatchRef()
                      throws COMError
Throws:
COMError

getvt

public short getvt()
            throws COMError
Throws:
COMError

toShort

public short toShort()
              throws COMError
Throws:
COMError

release

public void release()
             throws COMError
Throws:
COMError

init

protected void init()
             throws COMError
Throws:
COMError

isNull

public boolean isNull()
               throws COMError
Throws:
COMError

Save

public void Save(OutputStream os)
          throws IOException
Throws:
IOException

Load

public void Load(InputStream is)
          throws IOException
Throws:
IOException