|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.LanguageDbPropertySetter
public class LanguageDbPropertySetter
A class to handle setting language database properties
| Constructor Summary | |
|---|---|
LanguageDbPropertySetter()
|
|
| Method Summary | |
|---|---|
Serviceable |
apply(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
Apply a property change. |
void |
init(boolean dbOnly,
java.util.Dictionary p)
Initialize the properties for this callback. |
java.io.Serializable |
map(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
Map a proposed new value for a property to an official value. |
boolean |
validate(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
Validate a property change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageDbPropertySetter()
| Method Detail |
|---|
public void init(boolean dbOnly,
java.util.Dictionary p)
PropertySetCallbackCode within an init() method should use the 3 argument PropertyUtil method getPropertyFromSet() to obtain a property's value.
init in interface PropertySetCallbackdbOnly - true if only per-database properties are to be looked atp - the complete set of per-database properties.
public boolean validate(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
throws StandardException
PropertySetCallback
validate in interface PropertySetCallbackkey - Property key for the property being setvalue - proposed new value for the property being set or null if
the property is being dropped.p - Property set before the change. SettingProperty may read but
must never change p.
StandardException - Thrown on error.
public Serviceable apply(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
PropertySetCallback
apply in interface PropertySetCallbackkey - Property key for the property being setvalue - proposed new value for the property being set or null if
the property is being dropped.p - Property set before the change. SettingProperty may read but
must never change p.
public java.io.Serializable map(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary p)
PropertySetCallback
map in interface PropertySetCallbackkey - Property key for the property being setvalue - proposed new value for the property being set or null if
the property is being dropped.p - Property set before the change. SettingProperty may read but
must never change p.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||