Interface IArgument

All Known Implementing Classes:
Argument, PgAbstractFunction.PgArgument

public interface IArgument
Interface for database function argument
  • Method Details

    • getDataType

      String getDataType()
    • getDefaultExpression

      String getDefaultExpression()
    • setDefaultExpression

      void setDefaultExpression(String defaultExpression)
    • isReadOnly

      boolean isReadOnly()
    • setReadOnly

      void setReadOnly(boolean isReadOnly)
    • getMode

      ArgMode getMode()
    • getName

      String getName()
    • appendDeclaration

      void appendDeclaration(StringBuilder sbString, boolean includeDefaultValue, boolean includeArgName, UnaryOperator<String> quoter)
      Appends the argument declaration to a StringBuilder.
      Parameters:
      sbString - the StringBuilder to append to
      includeDefaultValue - whether to include the default value
      includeArgName - whether to include the argument name
      quoter - quoter for arguments