Class ProcedureOperationModel

Direct Known Subclasses:
PLSQLProcedureOperationModel

public class ProcedureOperationModel extends ModelWithBuildSql
  • Field Details

    • catalogPattern

      protected String catalogPattern
    • schemaPattern

      protected String schemaPattern
    • procedurePattern

      protected String procedurePattern
    • dbStoredProcedures

      protected transient List<ProcedureType> dbStoredProcedures
    • overload

      protected int overload
    • isAdvancedJDBC

      protected boolean isAdvancedJDBC
    • argumentTypes

      protected List<DatabaseType[]> argumentTypes
    • dbStoredFunctionReturnType

      protected DatabaseType dbStoredFunctionReturnType
    • hasComplexArguments

      protected boolean hasComplexArguments
  • Constructor Details

    • ProcedureOperationModel

      public ProcedureOperationModel()
  • Method Details

    • isProcedureOperation

      public boolean isProcedureOperation()
      Overrides:
      isProcedureOperation in class OperationModel
    • isPLSQLProcedureOperation

      public boolean isPLSQLProcedureOperation()
    • getCatalogPattern

      public String getCatalogPattern()
    • setCatalogPattern

      public void setCatalogPattern(String catalogPattern)
    • getSchemaPattern

      public String getSchemaPattern()
    • setSchemaPattern

      public void setSchemaPattern(String schemaPattern)
    • getProcedurePattern

      public String getProcedurePattern()
    • setProcedurePattern

      public void setProcedurePattern(String procedurePattern)
    • getDbStoredProcedures

      public List<ProcedureType> getDbStoredProcedures()
    • setDbStoredProcedures

      public void setDbStoredProcedures(List<ProcedureType> dbStoredProcedures)
    • getOverload

      public int getOverload()
    • setOverload

      public void setOverload(int overload)
    • isAdvancedJDBCProcedureOperation

      public boolean isAdvancedJDBCProcedureOperation()
    • setIsAdvancedJDBCProcedureOperation

      public void setIsAdvancedJDBCProcedureOperation(boolean isAdvancedJDBC)
    • buildOperation

      public void buildOperation(DBWSBuilder builder)
      Overrides:
      buildOperation in class OperationModel
    • hasArgumentTypes

      public boolean hasArgumentTypes()
      Indicates if this ProcedureOperationModel has types set for its stored procedure arguments, i.e. argumentTypes is non-null.
      Returns:
      true if this ProcedureOperationModel has types set for its stored procedure arguments, false otherwise
    • getArgumentTypes

      public List<DatabaseType[]> getArgumentTypes()
      Return the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedure arguments, or null if not set. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index.
      Returns:
      List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedure arguments, or null if not set
    • addArgumentTypes

      public void addArgumentTypes(DatabaseType[] dbTypes)
      Add to the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index.
    • setArgumentTypes

      public void setArgumentTypes(List<DatabaseType[]> argumentTypes)
      Set the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index.
    • getDbStoredFunctionReturnType

      public DatabaseType getDbStoredFunctionReturnType()
      Get the DatabaseType of the stored function's return argument.
      Returns:
      the stored function's return type
    • setDbStoredFunctionReturnType

      public void setDbStoredFunctionReturnType(DatabaseType dbStoredFunctionReturnType)
      Set the DatabaseType of the stored function's return argument.
    • hasComplexArguments

      public boolean hasComplexArguments()
      Indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments.
    • setHasComplexArguments

      public void setHasComplexArguments(boolean hasComplexArguments)
      Sets the boolean that indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments.