This page lists the type mappings for J#
Primitive Types
Complex Types

IDL Primitive Types
string The CORBA string indicates that the method returns an unicode string value.  It maps to J#'s string type.
 
			
// CORBA IDL 
string something();

// J# 
java.lang.String something();
wstring The CORBA wstring indicates that the method returns an unicode string value.  It maps to J#'s string type.
 

// CORBA IDL 
wstring something();

// J# 
java.lang.String something();
char The CORBA char indicates that the method returns a 16-bit unicode char value.  It maps to J#'s char type.
 

// CORBA IDL 
char something();

// J# 
char something();
wchar The CORBA wchar indicates that the method returns a 16-bit unicode char value.  It maps to J#'s char type.
 

// CORBA IDL 
wchar something();

// J# 
char something();
octet The CORBA octet indicates that the method returns an unsigned 8-bit integer value.  It maps to J#'s byte type.
 

// CORBA IDL 
octet something();

// J# 
byte something();
long The CORBA long indicates that the method returns a signed 32-bit integer value.  It maps to J#'s long type.
 

// CORBA IDL 
long something();

// J# 
int something();
unsigned long The CORBA unsigned long indicates that the method returns an unsigned 32-bit integer value.  It maps to J#'s long type.
 

// CORBA IDL 
unsigned long something();

// J# 
int something();
short The CORBA short indicates that the method returns a signed 16-bit integer value.  It maps to J#'s short type.
 

// CORBA IDL 
short something();

// J# 
short something();
unsigned short The CORBA unsigned short indicates that the method returns an unsigned 16-bit integer value.  It maps to J#'s short type.
 

// CORBA IDL 
unsigned short something();

// J# 
short something();
long long The CORBA long long indicates that the method returns a signed 64-bit integer value.  It maps to J#'s long type.
 

// CORBA IDL 
long long something();

// J# 
long something();
unsigned long long The CORBA unsigned long long indicates that the method returns an unsigned 64-bit integer value.  It maps to J#'s long type.
 

// CORBA IDL 
unsigned long long something();

// J# 
long something();
double The CORBA double indicates that the method returns a double precision floating value.  It maps to J#'s double type.
 

// CORBA IDL 
double something();

// J# 
double something();
float The CORBA float indicates that the method returns a single precise floating value.  It maps to J#'s float type.
 

// CORBA IDL 
float something();

// J# 
float something();
void The CORBA void indicates that the method returns nothing.  It maps to J#'s void type.
 

// CORBA IDL 
void something();

// J# 
void something();