Chapter 15 Working with IDL


Valuetype

You create a CORBA valuetype using a class with the <<CORBAValue>> stereotype. You can further define the valuetype using the following design features:


valuetype DateAndTime : Time supports PrettyPrint {
   public DateAndTime::Date the date;
   factory init(in short hr, in short min);
   string get_date();
   
};

 


Copyright (C) 2005. Sybase Inc. All rights reserved.