Class PdoIsReferencing

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

    public class PdoIsReferencing
    extends DbModelWurblet
    (@wurblet) Generate code to check whether a low-level persistent object is referenced.

    usage:
    @wurblet <tag> PdoIsReferencing [--private] [--append=<sqltext>] [--classvar=<classvariables>] <expression>

    arguments:

    • --private: makes the method private (default is public).
    • --append=<sqltext>: appends an sql-string.
    • --classvar=<classvariables>: reference to classvariables, if pick the statement-IDs from there.
    • <expression>: see WurbletArgumentParser.
    For more options, see DbModelWurblet.
    • Constructor Detail

      • PdoIsReferencing

        public PdoIsReferencing()
    • 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
      • process

        public java.lang.String process​(java.lang.String code)
        Specified by:
        process in interface org.wurbelizer.wurblet.Wurblet
        Overrides:
        process in class org.wurbelizer.wurblet.AbstractWurblet