Sequence

You create a CORBA sequence using a class with the <<CORBASequence>> stereotype. The type of the sequence is defined in another class linked to the sequence by an association. The UpperBound extended attribute of the <<CORBASequence>> class is used to define the upper bound of the sequence.



typedef sequence< string > name_lastname;

You can use a class with the <<CORBAAnonymousSequence>> stereotype to avoid defining directly a type for a sequence to design sequence imbrication.



typedef sequence< sequence< string > > Election_list;


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