Class Declare

  • All Implemented Interfaces:
    org.wurbelizer.wurblet.Wurblet

    public class Declare
    extends DbModelWurblet
    (@wurblet) Generate code to declare the attributes of an entity.

    usage:
    @wurblet <tag> Declare [--protected] [--annotations] [--mock]

    arguments:

    • --protected: makes the fields protected (default is private).
    • --annotations: to generate annotations. Default is no generation as they will be generated for the methods.
    • --mock: generate code for mock object.
    For more options, see DbModelWurblet.
    • Constructor Detail

      • Declare

        public Declare()
    • Method Detail

      • run

        public void run()
                 throws org.wurbelizer.wurbel.WurbelException
        Specified by:
        run in interface org.wurbelizer.wurblet.Wurblet
        Overrides:
        run in class DbModelWurblet
        Throws:
        org.wurbelizer.wurbel.WurbelException