On both interface & service you can add a method. You have the possibility to specify the return types such as void, DTO, Model, Entity or List/Set type that you like. You can add method up to 3 input parameters. This supports not only the primitive data types but also Entity, DTO and Model as well.
Connecting the service to the interface will result that the service will inherit all of the methods that has been defined in interface. In this case, service can not remove the related method. The method deletion is only possible on the interface side
Service can also hold fields with the type interface, service and repository. Connect those types to service node and it will automatically shown as field with pre-defined variable name. This also applies to the controller node type as well. Renaming the node will also reflect to the field as shown on the video above.
Spring boot and Java code generator. It helps Java Spring developer to generate code by simple drag and drop the component using the designer tool
© Copyright Codern.io. All Rights Reserved