Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Gets or sets the value of the attribute. This value could be an instance of an OraObject
, OraRef
, or OraCollection
object, or any of the supported scalar types, such as Integer
or Float
.
attr_value = OraAttribute.Value OraAttribute.Value = attr_value
Variant
This is the default property for this object.
The Value
property of the OraAttribute
object returns the value of the attribute as a Variant
. The Variant
type of the attribute depends on the attribute type of the attribute. Attribute values can be Null
and can be set to Null
. For attribute of type objects, REF
, LOB and Collection, attribute values are returned as corresponding OO4O objects for that type.
The following table identifies the attribute type and the return value of the Value
property of the OraAttribute
object:
Element Type | Element Value |
---|---|
Object |
OraObject |
REF |
OraRef |
VARRAY , Nested Table |
OraCollection |
BLOB |
OraBLOB |
CLOB |
OraCLOB |
BFILE |
OraBFILE |
Date |
String |
Number |
String |
CHAR ,VARCHAR2 |
String |
Real |
Real |
Integer |
Integer |