Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
OraAttribute Object
Description
Gets or sets the value of the attribute. This value could be an instance of an OraObject, OraRef, OraCollection, or any of the supported scalar types, such as integer or float.
Usage
attr_value = OraAttribute.Value
OraAttribute.Value = attr_value
Remarks
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:
OraAttribute Values
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 |
Variant