Chapter 13 Working with Java


Java 5.0 Annotations

PowerDesigner provides full support for Java 5.0 annotations, which allow you to add metadata to your code. This metadata can be accessed by post-processing tools or at run-time to vary the behavior of the system.

You can use built-in annotations, such as those listed below, and also create your own annotations, to apply to your types.

There are three types of annotations available:

PowerDesigner supports the seven built-in Java 5.0 annotations:

For general information about modeling this form of metadata in PowerDesigner, see "Attributes (OOM)" in the Building Structural Diagrams chapter.

 


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