Package com.luciad.datamodel
Interface TLcdDataTypeBuilder.TypeAnnotationFactory<T extends ILcdAnnotation>
- Enclosing class:
TLcdDataTypeBuilder
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.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAnnotation
(TLcdDataType aType) Creates the annotation that is to be added to the given data type.
-
Method Details
-
createAnnotation
Creates the annotation that is to be added to the given data type.- Parameters:
aType
- the type to which the annotation is to be added- Returns:
- the annotation for the given type
-