Value (OraAttribute) Property

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.

Usage

attr_value = OraAttribute.Value OraAttribute.Value = attr_value

Data Type

Variant

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:

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

Scripting on this page enhances content navigation, but does not change the content in any way.