|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
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 | |
---|---|
boolean |
canAlterProperty(DBObject original, DBObject update, java.lang.String prop) Convenience method to call canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String) and check the return value is a PropertyAction with a type of ALTER. |
PropertyAction |
canChangeProperty(DBObject original, DBObject update, java.lang.String 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.String) 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(Difference rs) Convenience method that uses canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String) on all the differences in the given Difference 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.Type action) Asks whether a given action is supported for the specified object type in this provider. |
boolean |
supportsProperty(java.lang.String type, java.lang.String prop) Tests whether the given property is supported for the given object type. |
Method Detail |
---|
boolean supportsAction(java.lang.String type, PropertyAction.Type action)
boolean supportsProperty(java.lang.String type, java.lang.String prop)
type
- the object type (e.g. Table.TYPE
).prop
- the property name / path.PropertyAction canChangeProperty(DBObject original, DBObject update, java.lang.String prop)
original
- the original object (null for a create query)update
- the updated (or new) objectprop
- the property name / path to queryboolean canAlterProperty(DBObject original, DBObject update, java.lang.String prop)
canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
and check the return value is a PropertyAction with a type of ALTER.original
- the original object (null for a create query)update
- the updated (or new) objectprop
- the property name / path to queryPropertyAction canUpdateObject(DBObject orig, DBObject update)
canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
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) objectPropertyAction canUpdateObject(Difference rs)
canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
on all the differences in the given Difference 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 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |