Interface TLcdDataModelBuilder.DataModelAnnotationFactory<T extends ILcdAnnotation>

Enclosing class:
TLcdDataModelBuilder

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.

  • Method Summary

    Modifier and Type
    Method
    Description
    Creates the annotation that is to be added to the given data model.
  • Method Details

    • createAnnotation

      T createAnnotation(TLcdDataModel aDataModel)
      Creates the annotation that is to be added to the given data model.
      Parameters:
      aDataModel - the data model to which the annotation is to be added
      Returns:
      the annotation for the given data model