/**
* Generates the model description of a field which is annotated with the OpenEngSBForeignKey annotation.
*/
private ModelDescription getModelDescriptionFromField(Field field) {
OpenEngSBForeignKey key = field.getAnnotation(OpenEngSBForeignKey.class);
ModelDescription description = new ModelDescription(key.modelType(), key.modelVersion());
return description;
}
}