public class Variant
extends java.lang.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 java.lang.Integer |
_int |
protected Null |
_null |
protected Array |
array |
protected byte[] |
blob |
protected java.lang.Boolean |
bool |
protected java.lang.String |
bstr |
protected Cf |
cf |
protected java.lang.String |
clsid |
protected java.lang.String |
cy |
protected javax.xml.datatype.XMLGregorianCalendar |
date |
protected java.math.BigDecimal |
decimal |
protected Empty |
empty |
protected java.lang.String |
error |
protected javax.xml.datatype.XMLGregorianCalendar |
filetime |
protected java.lang.Byte |
i1 |
protected java.lang.Short |
i2 |
protected java.lang.Integer |
i4 |
protected java.lang.Long |
i8 |
protected java.lang.String |
lpstr |
protected java.lang.String |
lpwstr |
protected byte[] |
oblob |
protected byte[] |
ostorage |
protected byte[] |
ostream |
protected java.lang.Float |
r4 |
protected java.lang.Double |
r8 |
protected byte[] |
storage |
protected byte[] |
stream |
protected java.lang.Short |
ui1 |
protected java.lang.Integer |
ui2 |
protected java.lang.Long |
ui4 |
protected java.math.BigInteger |
ui8 |
protected java.lang.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
|
java.lang.String |
getBstr()
Basic String
|
Cf |
getCf()
Clipboard Data
|
java.lang.String |
getClsid()
Class ID
|
java.lang.String |
getCy()
Currency
|
javax.xml.datatype.XMLGregorianCalendar |
getDate()
Date and Time
|
java.math.BigDecimal |
getDecimal()
Decimal
|
Empty |
getEmpty()
Empty
|
java.lang.String |
getError()
Error Status Code
|
javax.xml.datatype.XMLGregorianCalendar |
getFiletime()
File Time
|
java.lang.Byte |
getI1()
1-Byte Signed Integer
|
java.lang.Short |
getI2()
2-Byte Signed Integer
|
java.lang.Integer |
getI4()
4-Byte Signed Integer
|
java.lang.Long |
getI8()
8-Byte Signed Integer
|
java.lang.Integer |
getInt()
Integer
|
java.lang.String |
getLpstr()
LPSTR
|
java.lang.String |
getLpwstr()
LPWSTR
|
Null |
getNull()
Null
|
byte[] |
getOblob()
Binary Blob Object
|
byte[] |
getOstorage()
Binary Storage Object
|
byte[] |
getOstream()
Binary Stream Object
|
java.lang.Float |
getR4()
4-Byte Real Number
|
java.lang.Double |
getR8()
8-Byte Real Number
|
byte[] |
getStorage()
Binary Storage
|
byte[] |
getStream()
Binary Stream
|
java.lang.Short |
getUi1()
1-Byte Unsigned Integer
|
java.lang.Integer |
getUi2()
2-Byte Unsigned Integer
|
java.lang.Long |
getUi4()
4-Byte Unsigned Integer
|
java.math.BigInteger |
getUi8()
8-Byte Unsigned Integer
|
java.lang.Long |
getUint()
Unsigned Integer
|
Variant |
getVariant()
Variant
|
Vector |
getVector()
Vector
|
Vstream |
getVstream()
Binary Versioned Stream
|
java.lang.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(java.lang.Boolean value)
Sets the value of the bool property.
|
void |
setBstr(java.lang.String value)
Sets the value of the bstr property.
|
void |
setCf(Cf value)
Sets the value of the cf property.
|
void |
setClsid(java.lang.String value)
Sets the value of the clsid property.
|
void |
setCy(java.lang.String value)
Sets the value of the cy property.
|
void |
setDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the date property.
|
void |
setDecimal(java.math.BigDecimal value)
Sets the value of the decimal property.
|
void |
setEmpty(Empty value)
Sets the value of the empty property.
|
void |
setError(java.lang.String value)
Sets the value of the error property.
|
void |
setFiletime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the filetime property.
|
void |
setI1(java.lang.Byte value)
Sets the value of the i1 property.
|
void |
setI2(java.lang.Short value)
Sets the value of the i2 property.
|
void |
setI4(java.lang.Integer value)
Sets the value of the i4 property.
|
void |
setI8(java.lang.Long value)
Sets the value of the i8 property.
|
void |
setInt(java.lang.Integer value)
Sets the value of the int property.
|
void |
setLpstr(java.lang.String value)
Sets the value of the lpstr property.
|
void |
setLpwstr(java.lang.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(java.lang.Float value)
Sets the value of the r4 property.
|
void |
setR8(java.lang.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(java.lang.Short value)
Sets the value of the ui1 property.
|
void |
setUi2(java.lang.Integer value)
Sets the value of the ui2 property.
|
void |
setUi4(java.lang.Long value)
Sets the value of the ui4 property.
|
void |
setUi8(java.math.BigInteger value)
Sets the value of the ui8 property.
|
void |
setUint(java.lang.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 java.lang.Byte i1
protected java.lang.Short i2
protected java.lang.Integer i4
protected java.lang.Long i8
protected java.lang.Integer _int
protected java.lang.Short ui1
protected java.lang.Integer ui2
protected java.lang.Long ui4
protected java.math.BigInteger ui8
protected java.lang.Long uint
protected java.lang.Float r4
protected java.lang.Double r8
protected java.math.BigDecimal decimal
protected java.lang.String lpstr
protected java.lang.String lpwstr
protected java.lang.String bstr
protected javax.xml.datatype.XMLGregorianCalendar date
protected javax.xml.datatype.XMLGregorianCalendar filetime
protected java.lang.Boolean bool
protected java.lang.String cy
protected java.lang.String error
protected byte[] stream
protected byte[] ostream
protected byte[] storage
protected byte[] ostorage
protected Vstream vstream
protected java.lang.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 java.lang.Byte getI1()
Bytepublic void setI1(java.lang.Byte value)
value - allowed object is
Bytepublic java.lang.Short getI2()
Shortpublic void setI2(java.lang.Short value)
value - allowed object is
Shortpublic java.lang.Integer getI4()
Integerpublic void setI4(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.Long getI8()
Longpublic void setI8(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Integer getInt()
Integerpublic void setInt(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.Short getUi1()
Shortpublic void setUi1(java.lang.Short value)
value - allowed object is
Shortpublic java.lang.Integer getUi2()
Integerpublic void setUi2(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.Long getUi4()
Longpublic void setUi4(java.lang.Long value)
value - allowed object is
Longpublic java.math.BigInteger getUi8()
BigIntegerpublic void setUi8(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.Long getUint()
Longpublic void setUint(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Float getR4()
Floatpublic void setR4(java.lang.Float value)
value - allowed object is
Floatpublic java.lang.Double getR8()
Doublepublic void setR8(java.lang.Double value)
value - allowed object is
Doublepublic java.math.BigDecimal getDecimal()
BigDecimalpublic void setDecimal(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.String getLpstr()
Stringpublic void setLpstr(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLpwstr()
Stringpublic void setLpwstr(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBstr()
Stringpublic void setBstr(java.lang.String value)
value - allowed object is
Stringpublic javax.xml.datatype.XMLGregorianCalendar getDate()
XMLGregorianCalendarpublic void setDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic javax.xml.datatype.XMLGregorianCalendar getFiletime()
XMLGregorianCalendarpublic void setFiletime(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.Boolean isBool()
Booleanpublic void setBool(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getCy()
Stringpublic void setCy(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getError()
Stringpublic void setError(java.lang.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 java.lang.String getClsid()
Stringpublic void setClsid(java.lang.String value)
value - allowed object is
StringCopyright © 2007–2023. All rights reserved.