Chapter 14 Working with IDL
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;
};
| Copyright (C) 2007. Sybase Inc. All rights reserved. |
| |