Class AbstractSQLMethod

    • Constructor Detail

      • AbstractSQLMethod

        public AbstractSQLMethod​(String name)
      • AbstractSQLMethod

        public AbstractSQLMethod​(String name,
                                 int nbparams)
      • AbstractSQLMethod

        public AbstractSQLMethod​(String name,
                                 int minparams,
                                 int maxparams)
    • Method Detail

      • getSyntax

        public String getSyntax()
        Description copied from interface: SQLMethod
        Returns a convenient SQL String representation of the method.

        Example :

          field.myMethod( param1, param2, [optionalParam3])
         

        This text will be used in exception messages.

        Specified by:
        getSyntax in interface SQLMethod
        Returns:
        String , never null.
      • getMinParams

        public int getMinParams()
        Specified by:
        getMinParams in interface SQLMethod
        Returns:
        minimum number of arguments requiered by this method
      • getMaxParams

        public int getMaxParams()
        Specified by:
        getMaxParams in interface SQLMethod
        Returns:
        maximum number of arguments requiered by this method