Class ProcedureName

java.lang.Object
com.mckoi.database.ProcedureName

public class ProcedureName extends Object
The name of a procedure as understood by a ProcedureManager.
  • Constructor Details

    • ProcedureName

      public ProcedureName(String schema, String name)
      Constructs the ProcedureName.
    • ProcedureName

      public ProcedureName(TableName table_name)
      Constructs the ProcedureName from a TableName.
  • Method Details

    • getSchema

      public String getSchema()
      Returns the schema of this procedure.
    • getName

      public String getName()
      Returns the name of this procedure.
    • toString

      public String toString()
      Returns this procedure name as a string.
      Overrides:
      toString in class Object
    • qualify

      public static ProcedureName qualify(String current_schema, String proc_name)
      Returns a version of this procedure qualified to the given schema (unless the schema is present).
    • equals

      public boolean equals(Object ob)
      Equality test.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      The hash key.
      Overrides:
      hashCode in class Object