Package com.mckoi.database
Class ProcedureName
- java.lang.Object
-
- com.mckoi.database.ProcedureName
-
public class ProcedureName extends java.lang.ObjectThe name of a procedure as understood by a ProcedureManager.
-
-
Constructor Summary
Constructors Constructor Description ProcedureName(TableName table_name)Constructs the ProcedureName from a TableName.ProcedureName(java.lang.String schema, java.lang.String name)Constructs the ProcedureName.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object ob)Equality test.java.lang.StringgetName()Returns the name of this procedure.java.lang.StringgetSchema()Returns the schema of this procedure.inthashCode()The hash key.static ProcedureNamequalify(java.lang.String current_schema, java.lang.String proc_name)Returns a version of this procedure qualified to the given schema (unless the schema is present).java.lang.StringtoString()Returns this procedure name as a string.
-
-
-
Constructor Detail
-
ProcedureName
public ProcedureName(java.lang.String schema, java.lang.String name)Constructs the ProcedureName.
-
ProcedureName
public ProcedureName(TableName table_name)
Constructs the ProcedureName from a TableName.
-
-
Method Detail
-
getSchema
public java.lang.String getSchema()
Returns the schema of this procedure.
-
getName
public java.lang.String getName()
Returns the name of this procedure.
-
toString
public java.lang.String toString()
Returns this procedure name as a string.- Overrides:
toStringin classjava.lang.Object
-
qualify
public static ProcedureName qualify(java.lang.String current_schema, java.lang.String proc_name)
Returns a version of this procedure qualified to the given schema (unless the schema is present).
-
equals
public boolean equals(java.lang.Object ob)
Equality test.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
The hash key.- Overrides:
hashCodein classjava.lang.Object
-
-