The IDL should abide by these naming conventions, that follow the JavaBeans style except where impossible in IDL.
- ValueTypes will have private fields, with associated getter methods. For a field of type Abc, with name xyz, the resulting IDL will look like:
valuetype SomeType {
private Abc xyz;
Abc getXyz();
};
- In cases where the type would be the same as the preferred field name, then my is prefixed to the field name. The method name is the same as it would've been if the preferred name had been used. The field is the least visible, and so its name matters least.
So if abc is the preferred name for a field of type Abc, the IDL would look like this
valuetype SomeType {
private Abc myAbc;
Abc getAbc();
};
- In cases where the type name and preferred name for a method parameter, the parameter's name is prefixed with the verb in the method
- Indentation will be 4 spaces. No tabs will be in the IDL.
- When names consist of more than one word, they will be joined with the first letter of each word capitalized.
- Valuetypes, structs and interfaces will begin with a capital letter.
- Fields and methods will begin with a lower case letter.