Package | Description |
---|---|
oracle.ide.db.controls |
Reusable UI controls to used to show or list database objects.
|
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.datatypes |
Classes related to datatypes in the database API.
|
oracle.javatools.db.validators |
Contains classes that provide the capability to validate DBObjects in a DBObjectProvider.
|
oracle.jdeveloper.offlinedb |
Database API extension for saving database object definitions in XML files.
|
oracle.jdeveloper.offlinedb.userprops |
Extension to the Offline Database that allows the association of a library of user properties to be associated with an offline database.
|
Modifier and Type | Method and Description |
---|---|
void |
CommentEditor.commit(DBObject obj) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidNameException
ValidationException thrown when an object's name is invalid.
|
class |
NameInUseException
ValidationException thrown when a name is already in use by an existing object in the DBObjectProvider.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseDescriptor.validateEncoding(java.lang.String string, java.lang.Object property)
Tests whether the given string is encoded property for the given property.
|
void |
DBObjectProvider.validateObject(DBObject object)
Checks to see if the object is valid.
|
void |
AbstractDBObjectProvider.validateObject(DBObject object)
Validates the given object using the DBObjectValidator registered against that object's type.
|
void |
DBObjectProvider.validateObject(DBObject original, DBObject updated)
Checks to see if the object update is valid.
|
void |
AbstractDBObjectProvider.validateObject(DBObject original, DBObject update)
Validates the given object update using the DBObjectValidator registered against that object's type.
|
void |
DBObjectProvider.validateObject(DBObject original, DBObject updated, java.lang.String property)
Deprecated.
use validateObjectProperty(DBObject,DBObject,Object)
|
void |
AbstractDBObjectProvider.validateObject(DBObject original, DBObject update, java.lang.String property)
Deprecated.
|
void |
DBObjectProvider.validateObject(DBObject object, java.lang.String property)
Deprecated.
use validateObjectProperty(DBObject,Object)
|
void |
AbstractDBObjectProvider.validateObject(DBObject object, java.lang.String property)
Deprecated.
|
void |
DBObjectValidator.validateObject(T object)
Deprecated.
Determines whether the specified DBObject is valid.
|
void |
DBObjectValidator.validateObject(T original, T updated)
Deprecated.
Determines whether the specified updated DBObject is valid.
|
void |
DBObjectProvider.validateObjectProperty(DBObject original, DBObject updated, java.lang.Object property)
|
void |
AbstractDBObjectProvider.validateObjectProperty(DBObject original, DBObject updated, java.lang.Object property)
Deprecated.
|
void |
DBObjectProvider.validateObjectProperty(DBObject original, DBObject updated, java.lang.String property)
Checks to see if the updated children of a given object are valid.
|
void |
AbstractDBObjectProvider.validateObjectProperty(DBObject original, DBObject update, java.lang.String property) |
void |
DBObjectProvider.validateObjectProperty(DBObject object, java.lang.Object property)
Deprecated.
|
void |
AbstractDBObjectProvider.validateObjectProperty(DBObject object, java.lang.Object property)
Deprecated.
|
void |
DBObjectProvider.validateObjectProperty(DBObject object, java.lang.String property)
Checks to see if the children of a given object are valid.
|
void |
AbstractDBObjectProvider.validateObjectProperty(DBObject object, java.lang.String property) |
void |
DBObjectValidator.validateObjectProperty(T object, java.lang.String property)
Deprecated.
Determines whether the specified DBObject's children of given type are valid.
|
void |
DBObjectValidator.validateObjectProperty(T original, T updated, java.lang.String property)
Deprecated.
Determines whether the specified DBObject's children of given type are valid for this update.
|
void |
DBObjectProvider.validateSchema(Schema schema)
Deprecated.
use validateObject(DBObject object)
|
void |
AbstractDBObjectProvider.validateSchema(Schema schema)
Deprecated.
- use validateObject( DBObject object )
|
void |
DBObjectProvider.validateSchema(Schema original, Schema updated)
Deprecated.
use validateObject(DBObject original, DBObject updated)
|
void |
AbstractDBObjectProvider.validateSchema(Schema original, Schema update)
Deprecated.
use validateObject( DBObject original, DBObject update )
|
Modifier and Type | Class and Description |
---|---|
class |
DataTypeValidationException |
class |
DefaultValueValidationException |
Modifier and Type | Class and Description |
---|---|
class |
MissingValidatorException
Indicates that the validation of the database object failed because no DBObjectValidator was registered to handle the validation.
|
class |
SourceValidationException
Sublass of
ValidationException used to report errors in SourceObjects . |
Modifier and Type | Method and Description |
---|---|
protected T |
DBObjectValidator.findExistingObject(T object)
Finds an existing object for the given object.
|
void |
DBObjectValidator.validateComment(T original, T update) |
void |
DBObjectValidator.validateName(T original, T updated) |
protected void |
DBObjectValidator.validateNonNullableProperty(DBObject original, DBObject updated, java.lang.String propName)
Validate that the property has not been updated from not null to null in an online database.
|
void |
DBObjectValidator.validateObject(T object)
Tests whether the specified DBObject is valid for creation.
|
void |
DBObjectValidator.validateObject(T original, T updated)
Determines whether the specified "updated" object is valid.
|
void |
DBObjectValidator.validateObjectProperty(T object, java.lang.String property)
Tries to find an existing object for the given object and calls
#validateObject(DBObject original, DBObject updated, Object property) This is final - all subclasses should implement #validateObject(DBObject original, DBObject updated, Object property) |
void |
DBObjectValidator.validateObjectProperty(T original, T updated, java.lang.String property)
Validates the given property for the given object.
|
protected void |
DBObjectValidator.validateOwnedObjects(DBObject[] children)
Convenience method to call validateObject on the provider for each of the owned objects in the given array.
|
void |
SchemaObjectValidator.validateSchema(T original, T updated) |
void |
DBObjectValidator.validateType(T original, T updated)
Shouldn't be necessary but hey!
|
static void |
DBObjectValidator.validateUniqueNames(DBObject[] objs)
Deprecated.
with no replacement. Unique name validation is done by validateNameInUse.
|
Modifier and Type | Method and Description |
---|---|
void |
OfflineDBObjectProvider.validateObject(DBObject object)
Validates the given object using the DBObjectValidator registered against that object's type.
|
void |
OfflineDBObjectProvider.validateObject(DBObject original, DBObject update)
Validates the given object update using the DBObjectValidator registered against that object's type.
|
void |
OfflineDBValidationManager.Validator.validateObject(OfflineDBObjectProvider pro, DBObject original, DBObject update, java.lang.String property)
Validates the given object change for the given provider.
|
void |
OfflineDBObjectProvider.validateObjectProperty(DBObject original, DBObject update, java.lang.String property) |
void |
OfflineDBObjectProvider.validateObjectProperty(DBObject object, java.lang.String property) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUserPropertyValidator.validateObject(OfflineDBObjectProvider pro, DBObject original, DBObject update, java.lang.String property) |
abstract void |
AbstractUserPropertyValidator.validateUserPropertyValue(OfflineDBObjectProvider pro, DBObject original, DBObject update, java.lang.String userPropertyName, java.lang.String userPropertyValue)
Implementations of this method will be called to allow validation of User Property Values.
|