Package | Description |
---|---|
oracle.ide.db.components |
Contains the ComponentWrapper API, which allows DBObject properties to
be associated with a UI Component, and the property value by kept
synchronized with the UI.
|
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 |
DBObjectIDComponentWrapper.setValidationStatus(java.util.Collection<ValidationException> ves,
oracle.ideimpl.db.validate.DBValidationHandler handler) |
void |
ComponentWrapper.setValidationStatus(java.util.Collection<ValidationException> ves,
oracle.ideimpl.db.validate.DBValidationHandler handler)
Sets the validation status of the wrapped property value.
|
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
Deprecated.
with no replacement - use
ValidationException |
class |
DefaultValueValidationException
Deprecated.
with no replacement - use
ValidationException . |
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 . |
class |
ValidationCancelledException
Exception thrown when validation is cancelled while it is running.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ValidationException> |
DBObjectValidationModel.getValidation(DBObject obj,
java.lang.String prop)
Gets any ValidationExceptions that have been added against the given
object for the given property.
|
java.util.Map<java.lang.String,java.util.Collection<ValidationException>> |
DBObjectValidationModel.getValidationMap(DBObject obj)
Gets the validation map for the given object.
|
Modifier and Type | Method and Description |
---|---|
void |
DBObjectValidationModel.add(ValidationException... exceptions)
Adds the given exceptions to this model.
|
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) |
protected void |
DBObjectValidator.validateMissingPath(T original,
T updated,
java.lang.String property)
When a path is validated, and the start of that path is missing the
root object, this method is called to allow subclasses to customise
validation for mandatory child properties when their parent is missing.
|
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.
|