|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.property.PropertyInitializer
oracle.jdeveloper.offlinedb.userprops.UserPropertyInitializer
public abstract class UserPropertyInitializer
Abstract adapter class for registering a PropertyInitializer
specifically to provide a dynamic defaults for user defined properties.
Concrete subclasses of UserPropertyInitializer should be registered using
OfflineDBPropertyInitializationManager#registerPropertyInitializer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.javatools.db.property.PropertyInitializer |
|---|
PropertyInitializer.InitializationVeto |
| Constructor Summary | |
|---|---|
protected |
UserPropertyInitializer(DBObjectProvider pro)
NB subclasses must provide a constructor that takes a DBObjectProvider |
| Method Summary | |
|---|---|
java.lang.Object |
getPropertyInitialValue(DBObject obj,
java.lang.String propertyName)
|
java.lang.String[] |
getPropertyNames(java.lang.Class<? extends DBObject> clz)
|
protected abstract java.lang.String |
getUserPropertyDefault(DBObject obj,
java.lang.String userPropertyName)
Concrete subclasses should return the default value of the user property with the given name for the given DBObject or throw a PropertyInitializer.InitializationVeto exception. |
protected abstract java.lang.String[] |
getUserPropertyNames(java.lang.Class<? extends DBObject> clz)
Concrete subclasses should return a String[] of user property names for objects of the given class for which they provide a default value. |
| Methods inherited from class oracle.javatools.db.property.PropertyInitializer |
|---|
getProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected UserPropertyInitializer(DBObjectProvider pro)
| Method Detail |
|---|
public final java.lang.String[] getPropertyNames(java.lang.Class<? extends DBObject> clz)
getPropertyNames in class PropertyInitializerclz - the class of object for which supported properties are being requested.
public final java.lang.Object getPropertyInitialValue(DBObject obj,
java.lang.String propertyName)
throws PropertyInitializer.InitializationVeto
getPropertyInitialValue in class PropertyInitializerPropertyInitializer.InitializationVetoprotected abstract java.lang.String[] getUserPropertyNames(java.lang.Class<? extends DBObject> clz)
protected abstract java.lang.String getUserPropertyDefault(DBObject obj,
java.lang.String userPropertyName)
throws PropertyInitializer.InitializationVeto
PropertyInitializer.InitializationVeto
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||