|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.modelbase.sql.schema.helper.SQLObjectNameHelper
public class SQLObjectNameHelper
This class implements the ISQLObjectNameHelper interface to provide a naming service for SQL Model objects.
Constructor Summary | |
---|---|
SQLObjectNameHelper()
|
Method Summary | |
---|---|
java.lang.String |
getIdentifierQuoteString()
Gets the identifier quote string being used to delimit identifiers. |
java.lang.String |
getNameInSQLFormat(Column column)
Gets the name of the given column, delimited as needed to make it suitable for use in constructing an SQL statement. |
java.lang.String |
getNameInSQLFormat(Table table)
Gets the name of the given table, delimited as needed to make it suitable for use in constructing an SQL statement. |
java.lang.String |
getQualifiedNameInSQLFormat(Column column)
Gets the name of the given table, qualified and delimited as needed to make it suitable for use in constructing an SQL statement. |
java.lang.String |
getQualifiedNameInSQLFormat(Table table)
Gets the name of the given table, qualified and delimited as needed to make it suitable for use in constructing an SQL statement. |
void |
setIdentifierQuoteString(java.lang.String quoteString)
Sets the identifier quote string to use to delimit identifiers. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLObjectNameHelper()
Method Detail |
---|
public java.lang.String getNameInSQLFormat(Column column)
getNameInSQLFormat
in interface ISQLObjectNameHelper
table
- the SQL Model column object for which the name is wanted
public java.lang.String getNameInSQLFormat(Table table)
getNameInSQLFormat
in interface ISQLObjectNameHelper
table
- the SQL Model table object for which the name is wanted
public java.lang.String getQualifiedNameInSQLFormat(Column column)
getQualifiedNameInSQLFormat
in interface ISQLObjectNameHelper
table
- the SQL Model table object for which the name is wanted
public java.lang.String getQualifiedNameInSQLFormat(Table table)
getQualifiedNameInSQLFormat
in interface ISQLObjectNameHelper
table
- the SQL Model table object for which the name is wanted
public java.lang.String getIdentifierQuoteString()
getIdentifierQuoteString
in interface ISQLObjectNameHelper
public void setIdentifierQuoteString(java.lang.String quoteString)
setIdentifierQuoteString
in interface ISQLObjectNameHelper
quoteString
- the identifier quote string to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |