Class BackofficeManyToOneWidgetCreator
java.lang.Object
de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator<BackofficeClientGenerator>
de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeManyToOneWidgetCreator<BackofficeClientGenerator>
de.knightsoftnet.gwtp.spring.annotation.processor.BackofficeManyToOneWidgetCreator
public class BackofficeManyToOneWidgetCreator
extends AbstractBackofficeManyToOneWidgetCreator<BackofficeClientGenerator>
Create suggestion for many to one reference widgets.
-
Field Summary
FieldsFields inherited from class de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator
CLASS_SUFFIX_VIEW, imports, JAKARTA_VALIDATION_PATH, JAVAX_VALIDATION_PATH, MT_VALIDATION_PATH, suffix, WIDGET_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalImports(String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) protected voidwriteBody(Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, String keyfield, String valuefield, String entityType, String entityName, PrintWriter out) Methods inherited from class de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeManyToOneWidgetCreator
writeBody, writeClassOrInterfaceMethods inherited from class de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator
addImport, addImport, addImports, addImports, detectBackofficeWidgetOfField, detectBackofficeWidgetsOfElement, detectBackofficeWidgetsOfElementFlat, detectPackage, fieldNameFirstUper, fieldNameIsConcatenated, fieldNameToCamelCase, firstPartOfPath, firstTwoPartsOfPath, getDeclaredTypeOfFirstTypeElement, getDeclaredTypeOfFirstTypeElement, getEntityNameOfElement, getEntityNameOfElementLower, getEntityNameOfFirstTypeElement, getEntityNameOfFirstTypeElementLower, getEnumName, getEnumNameWithoutPackage, getEnumValues, getFields, getPackageOfElement, getSuffix, hasEnum, isEnum, mapElementToSearchType, writeImports, writePackage
-
Field Details
-
CLASS_SUFFIX
- See Also:
-
-
Constructor Details
-
BackofficeManyToOneWidgetCreator
public BackofficeManyToOneWidgetCreator()
-
-
Method Details
-
addAdditionalImports
protected void addAdditionalImports(String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) - Specified by:
addAdditionalImportsin classAbstractBackofficeCreator<BackofficeClientGenerator>
-
writeBody
protected void writeBody(Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, String keyfield, String valuefield, String entityType, String entityName, PrintWriter out) - Specified by:
writeBodyin classAbstractBackofficeManyToOneWidgetCreator<BackofficeClientGenerator>
-