Chapter 3 Building Structural Diagrams
PowerDesigner allows you to designate classes and interfaces as generic types.
You define a list of type variables that will be used as datatypes for attributes, method parameters, or return types. PowerDesigner requires the existence of a bound class to create a generalization, realization, or association.
You then bind a classifier to the generic type via this intermediate bound class, and specify the actual types to be used in place of the required type variables.
To designate a class or interface as a generic type:
In order for the classifier to become a true generic type, it must contain at least one generic method.
Copyright (C) 2006. Sybase Inc. All rights reserved. |