java.lang.Object
io.github.mmm.orm.metadata.DbQualifiedName
A potentially qualified identifier consisting of
catalog, schema, and
name. The name is always required, while the other attributes can be
null. In such case the default values of the database connection will apply.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionDbQualifiedName(DbName catalog, DbName schema, DbName name) The constructor. -
Method Summary
-
Constructor Details
-
Method Details
-
getCatalog
- Returns:
- the
DbNameof the catalog (a database in the DB server aka cluster) ornullfor no catalog.
-
getSchema
- Returns:
- the
DbNameof the schema (namespace containing tables) ornullfor no schema.
-
getName
- Returns:
- the
DbNamewith the local database name. May not benull.
-
hasQualifier
public boolean hasQualifier()- Returns:
trueif thisDbQualifiedNamehas a qualifier (catalogorschema),falseotherwise (actually unqualified).
-
hashCode
public int hashCode() -
equals
-
toString
-