|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyManager
A DBObjectProvider has an associated PropertyManager that can be queried to ask for the level of support a given property has.
Method Summary | |
---|---|
PropertyAction |
canChangeProperty(DBObject original,
DBObject update,
java.lang.Object prop)
Queries the support for setting or changing the given property for a create or update. |
PropertyAction |
canUpdateObject(DBObject orig,
DBObject update)
Convenience method that uses canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.Object) on all the
differences in the given object to tell whether the update on the given
objects can be done using a CREATE, ALTER or REPLACE as appropriate. |
PropertyAction |
canUpdateObject(ResultSet rs)
Convenience method that uses canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.Object) on all the
differences in the given ResultSet to tell whether the update on the given
objects can be done using a CREATE, ALTER or REPLACE as appropriate. |
boolean |
supportsAction(java.lang.String type,
PropertyAction action)
Asks whether a given action is supported for the specified object type in this provider. |
boolean |
supportsProperty(java.lang.String type,
java.lang.Object prop)
Tests whether the given property is supported for the given object type. |
Method Detail |
---|
boolean supportsAction(java.lang.String type, PropertyAction action)
boolean supportsProperty(java.lang.String type, java.lang.Object prop)
type
- the object type (e.g.
Table.TYPE
).prop
- the property name (will use .toString())
PropertyAction canChangeProperty(DBObject original, DBObject update, java.lang.Object prop)
original
- the original object (null for a create query)update
- the updated (or new) objectprop
- the property to query (will use .toString())
PropertyAction canUpdateObject(DBObject orig, DBObject update)
canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.Object)
on all the
differences in the given object to tell whether the update on the given
objects can be done using a CREATE, ALTER or REPLACE as appropriate.
orig
- the original object (null for a create query)update
- the updated (or new) object
PropertyAction canUpdateObject(ResultSet rs)
canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.Object)
on all the
differences in the given ResultSet to tell whether the update on the given
objects can be done using a CREATE, ALTER or REPLACE as appropriate.
rs
- the changes to test
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |