
1187
DEVELOPING
COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
Las
t
upda
te
d 8/5/2010
Data type conversion
The following table lists IDL data types and the corresponding ColdFusion data types:
Boolean data considerations
ColdFusion treats any of the following as Boolean values:
double
Yes
Yes
Yes
unsigned short
Yes
Yes
Yes
unsigned long
Yes
Yes
Yes
longlong
No
No
No
unsigned longlong
No
No
No
void
Yes
NA
Yes
IDL type
ColdFusion type
boolean
Boolean
char
One-character string
wchar
One-character string
string
String
wstring
String
octet
One-character string
short
Integer
long
Integer
float
Real number
double
Real number
unsigned short
Integer
unsigned long
Integer
void
Not applicable (returned as an empty string)
struct
Structure
enum
Integer, where 0 corresponds to the first enumerator in the enum type
array
Array (must match the array size specified in the IDL)
sequence
Array
interface
An object reference
module
Not supported (cannot dereference by module name)
exception
ColdFusion throws an exception of type
coldfusion.runtime.corba.CorbaUserException
attribute
Object reference using dot notation
CORBA IDL type
General support
As parameters
As return value