Interface TLcdDataPropertyBuilder.PropertyAnnotationFactory<T extends ILcdAnnotation>

Enclosing class:
TLcdDataPropertyBuilder

public static interface TLcdDataPropertyBuilder.PropertyAnnotationFactory<T extends ILcdAnnotation>

This factory interface offers a convenient way to annotate a property while it is being built. It enables the creation of annotations that require the property on which they work as parameter. Without this interface, these annotations would have to be added after the data model is built.

Since:
10.0
  • Method Summary

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

    • createAnnotation

      T createAnnotation(TLcdDataProperty aProperty)
      Creates the annotation that is to be added to the given property.
      Parameters:
      aProperty - the property to which the annotation is to be added
      Returns:
      the annotation for the given property