The generic numbering open API provides two interfaces of different complexity. They allow a user to modify how the numbering process executes.
- The IJavaNumberPart interface produces a single part of a number generated by the framework. It does not interfere with the execution of the framework, but simply provides a little piece of information included in the numbering.
- The INumberingAction allows for generating complete numbers for sets of elements. All sorting and numbering is delegated to the implementing class. The framework will only register the generated numbers internally.
Classes that implement these interfaces can be set as the expression value of an Expression NumberPart. (see Numbering Scheme property values).
These classes have to be specified with the complete package and class name, for example, com.nomagic.magicdraw.autoid.sample.SquareNumberPart.
Related pages