Identifier instances.
| Modifier and Type | Method and Description |
|---|---|
| public Identifier | Returns: The identifier formThe text to be (possibly) quoted text)Intended only for use in handling quoting requirements for |
| public boolean | Returns: true if the given word represents a reserved word; false otherwise.The word to check word)Check whether the given word represents a reserved word. |
| public Identifier | Returns: The quoting-normalized Identifier.The identifier for which to normalize quoting. identifier)Essentially quotes the identifier if it needs to be. |
| public Identifier | Returns: The identifier form of the name.The text form of a name as obtained from mapping information. text)Generate an Identifier instance from its simple name as obtained from mapping information. |
| public Identifier | Returns: The identifier form of the name.The text form of a name as obtained from mapping information. text, boolean Is the identifier to be quoted explicitly. quoted)Generate an Identifier instance from its simple name as obtained from mapping information. |
| public String | Returns: The String representation of the given catalog nameThe Identifier representation of a catalog name catalogIdentifier)Render the Identifier representation of a catalog name into the String form needed
in |
| public String | Returns: The String representation of the given object nameThe Identifier representation of an object name identifier)Render the Identifier representation of an object name (table, sequence, etc) into the
String form needed in |
| public String | Returns: The String representation of the given schema nameThe Identifier representation of a schema name schemaIdentifier)Render the Identifier representation of a schema name into the String form needed
in |
| applyGlobalQuoting | back to summary |
|---|---|
| public Identifier applyGlobalQuoting(String text) Intended only for use in handling quoting requirements for
This method is needed to account for that fact that the JPA spec says that
| |
| isReservedWord | back to summary |
|---|---|
| public boolean isReservedWord(String word) Check whether the given word represents a reserved word.
| |
| normalizeQuoting | back to summary |
|---|---|
| public Identifier normalizeQuoting(Identifier identifier) Essentially quotes the identifier if it needs to be. Useful to apply global quoting, as well as reserved word quoting after calls to naming strategies.
| |
| toIdentifier | back to summary |
|---|---|
| public Identifier toIdentifier(String text) Generate an Identifier instance from its simple name as obtained from mapping information. Note that Identifiers returned from here may be implicitly quoted based on 'globally quoted identifiers' or based on reserved words.
| |
| toIdentifier | back to summary |
|---|---|
| public Identifier toIdentifier(String text, boolean quoted) Generate an Identifier instance from its simple name as obtained from mapping information. Additionally, this form takes a boolean indicating whether to explicitly quote the Identifier. Note that Identifiers returned from here may be implicitly quoted based on 'globally quoted identifiers' or based on reserved words.
| |
| toMetaDataCatalogName | back to summary |
|---|---|
| public String toMetaDataCatalogName(Identifier catalogIdentifier) Render the Identifier representation of a catalog name into the String form needed
in
| |
| toMetaDataObjectName | back to summary |
|---|---|
| public String toMetaDataObjectName(Identifier identifier) Render the Identifier representation of an object name (table, sequence, etc) into the
String form needed in
| |
| toMetaDataSchemaName | back to summary |
|---|---|
| public String toMetaDataSchemaName(Identifier schemaIdentifier) Render the Identifier representation of a schema name into the String form needed
in
| |