public static interface TLcdDataTypeBuilder.TypeAnnotationFactory<T extends ILcdAnnotation>
This factory interface offers a convenient way to annotate a type while it is being built. It enables the creation of annotations that require the type on which they work as parameter. Without this interface, these annotations would have to be added after the data model is built. This is possible, but in many cases much less convenient.
Modifier and Type | Method and Description |
---|---|
T |
createAnnotation(TLcdDataType aType)
Creates the annotation that is to be added to the given data type.
|
T createAnnotation(TLcdDataType aType)
aType
- the type to which the annotation is to be added