public class Variant extends Object
Java class for CT_Variant complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Variant">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}variant"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vector"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}array"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}blob"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}oblob"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}empty"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}null"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i1"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i2"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}int"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui1"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui2"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}uint"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}decimal"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}lpstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}lpwstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}date"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}filetime"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bool"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cy"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}error"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}stream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}storage"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostorage"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vstream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}clsid"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cf"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
_int |
protected Null |
_null |
protected Array |
array |
protected byte[] |
blob |
protected Boolean |
bool |
protected String |
bstr |
protected Cf |
cf |
protected String |
clsid |
protected String |
cy |
protected XMLGregorianCalendar |
date |
protected BigDecimal |
decimal |
protected Empty |
empty |
protected String |
error |
protected XMLGregorianCalendar |
filetime |
protected Byte |
i1 |
protected Short |
i2 |
protected Integer |
i4 |
protected Long |
i8 |
protected String |
lpstr |
protected String |
lpwstr |
protected byte[] |
oblob |
protected byte[] |
ostorage |
protected byte[] |
ostream |
protected Float |
r4 |
protected Double |
r8 |
protected byte[] |
storage |
protected byte[] |
stream |
protected Short |
ui1 |
protected Integer |
ui2 |
protected Long |
ui4 |
protected BigInteger |
ui8 |
protected Long |
uint |
protected Variant |
variant |
protected Vector |
vector |
protected Vstream |
vstream |
| Constructor and Description |
|---|
Variant() |
| Modifier and Type | Method and Description |
|---|---|
Array |
getArray()
Array
|
byte[] |
getBlob()
Binary Blob
|
String |
getBstr()
Basic String
|
Cf |
getCf()
Clipboard Data
|
String |
getClsid()
Class ID
|
String |
getCy()
Currency
|
XMLGregorianCalendar |
getDate()
Date and Time
|
BigDecimal |
getDecimal()
Decimal
|
Empty |
getEmpty()
Empty
|
String |
getError()
Error Status Code
|
XMLGregorianCalendar |
getFiletime()
File Time
|
Byte |
getI1()
1-Byte Signed Integer
|
Short |
getI2()
2-Byte Signed Integer
|
Integer |
getI4()
4-Byte Signed Integer
|
Long |
getI8()
8-Byte Signed Integer
|
Integer |
getInt()
Integer
|
String |
getLpstr()
LPSTR
|
String |
getLpwstr()
LPWSTR
|
Null |
getNull()
Null
|
byte[] |
getOblob()
Binary Blob Object
|
byte[] |
getOstorage()
Binary Storage Object
|
byte[] |
getOstream()
Binary Stream Object
|
Float |
getR4()
4-Byte Real Number
|
Double |
getR8()
8-Byte Real Number
|
byte[] |
getStorage()
Binary Storage
|
byte[] |
getStream()
Binary Stream
|
Short |
getUi1()
1-Byte Unsigned Integer
|
Integer |
getUi2()
2-Byte Unsigned Integer
|
Long |
getUi4()
4-Byte Unsigned Integer
|
BigInteger |
getUi8()
8-Byte Unsigned Integer
|
Long |
getUint()
Unsigned Integer
|
Variant |
getVariant()
Variant
|
Vector |
getVector()
Vector
|
Vstream |
getVstream()
Binary Versioned Stream
|
Boolean |
isBool()
Boolean
|
void |
setArray(Array value)
Sets the value of the array property.
|
void |
setBlob(byte[] value)
Sets the value of the blob property.
|
void |
setBool(Boolean value)
Sets the value of the bool property.
|
void |
setBstr(String value)
Sets the value of the bstr property.
|
void |
setCf(Cf value)
Sets the value of the cf property.
|
void |
setClsid(String value)
Sets the value of the clsid property.
|
void |
setCy(String value)
Sets the value of the cy property.
|
void |
setDate(XMLGregorianCalendar value)
Sets the value of the date property.
|
void |
setDecimal(BigDecimal value)
Sets the value of the decimal property.
|
void |
setEmpty(Empty value)
Sets the value of the empty property.
|
void |
setError(String value)
Sets the value of the error property.
|
void |
setFiletime(XMLGregorianCalendar value)
Sets the value of the filetime property.
|
void |
setI1(Byte value)
Sets the value of the i1 property.
|
void |
setI2(Short value)
Sets the value of the i2 property.
|
void |
setI4(Integer value)
Sets the value of the i4 property.
|
void |
setI8(Long value)
Sets the value of the i8 property.
|
void |
setInt(Integer value)
Sets the value of the int property.
|
void |
setLpstr(String value)
Sets the value of the lpstr property.
|
void |
setLpwstr(String value)
Sets the value of the lpwstr property.
|
void |
setNull(Null value)
Sets the value of the null property.
|
void |
setOblob(byte[] value)
Sets the value of the oblob property.
|
void |
setOstorage(byte[] value)
Sets the value of the ostorage property.
|
void |
setOstream(byte[] value)
Sets the value of the ostream property.
|
void |
setR4(Float value)
Sets the value of the r4 property.
|
void |
setR8(Double value)
Sets the value of the r8 property.
|
void |
setStorage(byte[] value)
Sets the value of the storage property.
|
void |
setStream(byte[] value)
Sets the value of the stream property.
|
void |
setUi1(Short value)
Sets the value of the ui1 property.
|
void |
setUi2(Integer value)
Sets the value of the ui2 property.
|
void |
setUi4(Long value)
Sets the value of the ui4 property.
|
void |
setUi8(BigInteger value)
Sets the value of the ui8 property.
|
void |
setUint(Long value)
Sets the value of the uint property.
|
void |
setVariant(Variant value)
Sets the value of the variant property.
|
void |
setVector(Vector value)
Sets the value of the vector property.
|
void |
setVstream(Vstream value)
Sets the value of the vstream property.
|
protected Variant variant
protected Vector vector
protected Array array
protected byte[] blob
protected byte[] oblob
protected Empty empty
protected Null _null
protected Byte i1
protected Short i2
protected Integer i4
protected Long i8
protected Integer _int
protected Short ui1
protected Integer ui2
protected Long ui4
protected BigInteger ui8
protected Long uint
protected Float r4
protected Double r8
protected BigDecimal decimal
protected String lpstr
protected String lpwstr
protected String bstr
protected XMLGregorianCalendar date
protected XMLGregorianCalendar filetime
protected Boolean bool
protected String cy
protected String error
protected byte[] stream
protected byte[] ostream
protected byte[] storage
protected byte[] ostorage
protected Vstream vstream
protected String clsid
protected Cf cf
public void setVariant(Variant value)
value - allowed object is
Variantpublic void setVector(Vector value)
value - allowed object is
Vectorpublic void setArray(Array value)
value - allowed object is
Arraypublic byte[] getBlob()
public void setBlob(byte[] value)
value - allowed object is
byte[]public byte[] getOblob()
public void setOblob(byte[] value)
value - allowed object is
byte[]public void setEmpty(Empty value)
value - allowed object is
Emptypublic void setNull(Null value)
value - allowed object is
Nullpublic void setI1(Byte value)
value - allowed object is
Bytepublic void setI2(Short value)
value - allowed object is
Shortpublic void setI4(Integer value)
value - allowed object is
Integerpublic void setI8(Long value)
value - allowed object is
Longpublic void setInt(Integer value)
value - allowed object is
Integerpublic void setUi1(Short value)
value - allowed object is
Shortpublic void setUi2(Integer value)
value - allowed object is
Integerpublic void setUi4(Long value)
value - allowed object is
Longpublic BigInteger getUi8()
BigIntegerpublic void setUi8(BigInteger value)
value - allowed object is
BigIntegerpublic void setUint(Long value)
value - allowed object is
Longpublic void setR4(Float value)
value - allowed object is
Floatpublic void setR8(Double value)
value - allowed object is
Doublepublic BigDecimal getDecimal()
BigDecimalpublic void setDecimal(BigDecimal value)
value - allowed object is
BigDecimalpublic void setLpstr(String value)
value - allowed object is
Stringpublic void setLpwstr(String value)
value - allowed object is
Stringpublic void setBstr(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getDate()
XMLGregorianCalendarpublic void setDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getFiletime()
XMLGregorianCalendarpublic void setFiletime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic void setBool(Boolean value)
value - allowed object is
Booleanpublic void setCy(String value)
value - allowed object is
Stringpublic void setError(String value)
value - allowed object is
Stringpublic byte[] getStream()
public void setStream(byte[] value)
value - allowed object is
byte[]public byte[] getOstream()
public void setOstream(byte[] value)
value - allowed object is
byte[]public byte[] getStorage()
public void setStorage(byte[] value)
value - allowed object is
byte[]public byte[] getOstorage()
public void setOstorage(byte[] value)
value - allowed object is
byte[]public void setVstream(Vstream value)
value - allowed object is
Vstreampublic void setClsid(String value)
value - allowed object is
StringCopyright © 2007-2022. All Rights Reserved.