Automatic code generation into CORBA IDL
MetaEdit+ offers automatic code generation to CORBA IDL. It creates CORBA IDL declarations from UML class diagrams according to the following rules:
- Interface declarations are generated from classes which have stereotype "interface"
- Modules are included through the packages and their "interface" stereotyped classes
- IDL file is generated for each module and for each class which does not belong to any module
- Empty interfaces and modules are permitted
- Multiple inheritance supported
- Documentation of classes included as comments
- Constraints of attributes and operations included as comments
- Attribute access "readonly" included, according to the specified access for the attribute
- If data type is not entered, attribute is commented out with a warning to specify the data type
- Operation attribute "oneway" included if stereotype of an operation is named as one way
- Undefined return type treated as void
- Exceptions inside interface declarations included through operation definition in which stereotype of the operation is marked as "exception"
- Constants for classed may be defined if the stereotype of an attribute is marked as constant, uses initial value as constant value
- Enumerated types supported through initial values



