| Package | Description |
|---|---|
| oracle.ide.db.util |
Utility classes for dealing with database objects in UI in the IDE.
|
| oracle.javatools.db |
Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database.
|
| oracle.javatools.db.validators |
Contains classes that provide the capability to validate DBObjects in a DBObjectProvider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NameController.validateName(java.lang.String type, java.lang.String name)
Validates the given name entered by the user and throws an Exception if it isn't valid.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DatabaseDescriptor.makeNameValidAndUnique(DBObject object, DBObjectProvider pro)
Deprecated.
Use getUniqueName() in DBObjectProvider instead
|
static void |
DatabaseDescriptor.validateIdentifier(java.lang.String identifier, char quoter, int maxLength, java.lang.String allowedChars, boolean alphaStart, java.util.Set reservedWords, int casePolicy)
Validates that name is a valid external name such that : If the name is unquoted (does not start with
quoter), it only contains alphanumeric and allowedChars characters. If the name is unquoted, and alphaStart is true, it starts with a letter. If the name is unquoted, it does not contain any reservedWords. If the name is quoted (starts with quoter), it is correctly quoted, and does not include any excludedChars. If the name is quoted, and quoter is not in excludedChars, that any occurences of quoter are escaped (doubled-up). The name does not exceed maxLength, taking quotes into account. Used by the more specific validate*Identifier() methods on the Database implementations. |
static void |
DatabaseDescriptor.validateIdentifier(java.lang.String identifier, char quoter, int maxLength, java.lang.String allowedChars, java.lang.String excludedChars, boolean alphaStart, java.util.Set reservedWords, int casePolicy)
Validates that name is a valid external name such that : If the name is unquoted (does not start with
quoter), it only contains alphanumeric and allowedChars characters. If the name is unquoted, and alphaStart is true, it starts with a letter. If the name is unquoted, it does not contain any reservedWords. If the name is quoted (starts with quoter), it is correctly quoted, and does not include any excludedChars. If the name is quoted, and quoter is not in excludedChars, that any occurences of quoter are escaped (doubled-up). The name does not exceed maxLength, taking quotes into account. Used by the more specific validate*Identifier() methods on the Database implementations. |
void |
DBObjectProvider.validateName(java.lang.String name)
Deprecated.
- use
validateName( String type, String name ) |
void |
AbstractDBObjectProvider.validateName(java.lang.String name)
Deprecated.
- use validateName( String type, String name )
|
abstract void |
DatabaseDescriptor.validateName(java.lang.String type, java.lang.String name)
Validates the given object name and throws an InvalidNameExcpetion if it isn't valid for the Database being described.
|
void |
DBObjectProvider.validateName(java.lang.String type, java.lang.String name)
Checks to see whether a name is valid for a given type of object.
|
void |
AbstractDBObjectProvider.validateName(java.lang.String type, java.lang.String name)
Checks to see whether a name is valid.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DBObjectValidator.validateName(T obj)
Validates a name to see if it is a legal identifier.
|