public static interface TLcdDataModelBuilder.DataModelAnnotationFactory<T extends ILcdAnnotation>
This factory interface offers a convenient way to annotate a data model while it is being built. It enables the creation of annotations that require the data model on which they work as parameter. Without this interface, these annotations would have to be added after the data model is built.
Modifier and Type | Method and Description |
---|---|
T |
createAnnotation(TLcdDataModel aDataModel)
Creates the annotation that is to be added to the given data model.
|
T createAnnotation(TLcdDataModel aDataModel)
aDataModel
- the data model to which the annotation is to be added