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.
Modifier and Type | Method and Description |
---|---|
T |
createAnnotation(TLcdDataProperty aProperty)
Creates the annotation that is to be added to the given property.
|
T createAnnotation(TLcdDataProperty aProperty)
aProperty
- the property to which the annotation is to be added