Struct

You create a CORBA struct type using a class with the <<CORBAStruct>> stereotype. You can mix attribute types in the struct class.

struct Customer {
 string name_lastname;
 long age;
};

You use composition links to define complex struct classes as defined in the following example:



struct Customer {
 string name_lastname;
 long age;
 Address references;
 Customer_Category belongs;
};


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com