Package org.pgcodekeeper.core.schema
Class Inherits
java.lang.Object
org.pgcodekeeper.core.schema.Inherits
- All Implemented Interfaces:
IHashable
Represents a table inheritance relationship in PostgreSQL.
Contains the schema and table name of a parent table that is inherited by another table.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Inherits
Creates a new inheritance relationship.- Parameters:
key- the inherits keyvalue- the inherits value
-
-
Method Details
-
getKey
-
getValue
-
getQualifiedName
Gets the qualified name of the inherited table.- Returns:
- the qualified table name in the format schema.table
-
hashCode
public int hashCode() -
computeHash
Description copied from interface:IHashableComputes the hash of the implementing object using the provided hasher. The implementation should call appropriateputmethods on the hasher for all fields that should contribute to the hash value.- Specified by:
computeHashin interfaceIHashable- Parameters:
hasher- the hasher instance to use for hash computation
-
equals
-