Mapping attributes: CORBA, Java, and business object

This section provides a list of the main CORBA IDL constructs and the corresponding Java constructs and business object attributes. For all business object attributes that are not child business objects, the data type is String. In a business object, the ASI holds the actual data type of the attribute and is used when invoking methods against the Java proxy object.

For details about CORBA constructs, see Attributes.

For details about business object ASI, see Application-specific information.


Table 16. Object mapping: CORBA, JAVA, and business object

CORBA IDL construct Java construct Business object ASI
module package (does not apply) (does not apply)
interface (non-abstract) Signature interface and an operations interface, helper class, holder class BO proxy_class=<fully qualified CORBA class name>
interface (abstract) Signature interface, helper class, holder class BO proxy_class=<fully qualified CORBA interface name>
boolean boolean Boolean type=boolean
char, wchar char String type=char
octet byte String type=byte
string, wstring java.lang.String String type=String
short, unsigned short short Integer type=short
long, unsigned long int Integer type=int
long, long unsigned long long long Integer type=long
float float Float type=float
double double Double type=double
fixed java.math.BigDecimal String type=BigDecimal
enum, struct, union class BO proxy_class=<fully qualified class name)
sequence, array array Child BO with multiple cardinality proxy_class=<fully qualified class name)
exception class (does not apply) (does not apply)
readonly attribute accessor method Child BO method=<method name>
readwrite attribute accessor and modifier methods Child BO method=<method name>
operation method Child BO method=<method name>

Copyright IBM Corp. 1997, 2003