public static class Variant.VARIANT extends Union
Modifier and Type | Class and Description |
---|---|
static class |
Variant.VARIANT._VARIANT |
static class |
Variant.VARIANT.ByReference |
static class |
Variant.VARIANT.ByValue |
Structure.StructField
Modifier and Type | Field and Description |
---|---|
Variant.VARIANT._VARIANT |
_variant |
OaIdl.DECIMAL |
decVal |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
VARIANT() |
VARIANT(boolean value) |
VARIANT(byte value) |
VARIANT(char value) |
VARIANT(Date value) |
VARIANT(double value) |
VARIANT(float value) |
VARIANT(IDispatch value) |
VARIANT(int value) |
VARIANT(long value) |
VARIANT(OaIdl.DATE value) |
VARIANT(OaIdl.VARIANT_BOOL value) |
VARIANT(Pointer pointer) |
VARIANT(short value) |
VARIANT(String value) |
VARIANT(WinDef.BOOL value) |
VARIANT(WinDef.BYTE value) |
VARIANT(WinDef.CHAR value) |
VARIANT(WinDef.LONG value) |
VARIANT(WinDef.SHORT value) |
VARIANT(WTypes.BSTR value) |
VARIANT(WTypes.BSTRByReference value) |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue() |
Date |
dateValue() |
double |
doubleValue() |
float |
floatValue() |
protected OaIdl.DATE |
fromJavaDate(Date javaDate) |
Object |
getValue() |
WTypes.VARTYPE |
getVarType() |
int |
intValue() |
long |
longValue() |
void |
setValue(int vt,
Object value) |
void |
setValue(WTypes.VARTYPE vt,
Object value) |
void |
setVarType(short vt) |
int |
shortValue() |
String |
stringValue() |
protected Date |
toJavaDate(OaIdl.DATE varDate) |
getFieldOrder, getNativeAlignment, getTypedValue, readField, readField, setType, setType, setTypedValue, writeField, writeField, writeField
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write
public Variant.VARIANT._VARIANT _variant
public OaIdl.DECIMAL decVal
public VARIANT()
public VARIANT(Pointer pointer)
public VARIANT(WTypes.BSTR value)
public VARIANT(WTypes.BSTRByReference value)
public VARIANT(OaIdl.VARIANT_BOOL value)
public VARIANT(WinDef.BOOL value)
public VARIANT(WinDef.LONG value)
public VARIANT(WinDef.SHORT value)
public VARIANT(OaIdl.DATE value)
public VARIANT(byte value)
public VARIANT(WinDef.BYTE value)
public VARIANT(char value)
public VARIANT(WinDef.CHAR value)
public VARIANT(short value)
public VARIANT(int value)
public VARIANT(long value)
public VARIANT(float value)
public VARIANT(double value)
public VARIANT(String value)
public VARIANT(boolean value)
public VARIANT(IDispatch value)
public VARIANT(Date value)
public WTypes.VARTYPE getVarType()
public void setVarType(short vt)
public void setValue(int vt, Object value)
public void setValue(WTypes.VARTYPE vt, Object value)
public Object getValue()
public int shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public String stringValue()
public boolean booleanValue()
public Date dateValue()
protected Date toJavaDate(OaIdl.DATE varDate)
protected OaIdl.DATE fromJavaDate(Date javaDate)