java.lang.Object
io.github.mmm.orm.metadata.DbName
Name of a database object (schema, table, column, etc.). It is more or less just a wrapper for a
String but
also handles abstraction of quotation that may differ by database dialect.- Since:
- 1.0.0
- See Also:
-
Method Details
-
get
- Returns:
- the unquoted identifier as
String.
-
isQuoted
public boolean isQuoted()- Returns:
trueif this identifier shall be quoted,falseotherwise.
-
hashCode
public int hashCode() -
equals
-
toString
-
toString
-
of
-
getName
-
format
- Parameters:
name- theDbName. May benull.- Returns:
- the
string representation. Will benullifDbNamewasnull.
-
format
- Parameters:
name- theDbName. May benull.dialect- theDbDialectto use.- Returns:
- the
string representation. Will benullifDbNamewasnull.
-