Class OAbstractSQLMethod

    • Constructor Detail

      • OAbstractSQLMethod

        public OAbstractSQLMethod​(String name)
      • OAbstractSQLMethod

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

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

      • getSyntax

        public String getSyntax()
        Description copied from interface: SQLMethod
        Returns a convinient 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