ObjectValue (OpenJPA 0.9.7-incubating API) function windowTitle() { parent.document.title="ObjectValue (OpenJPA 0.9.7-incubating API)"; } Overview  Package   Class  Use  Tree  Deprecated  Index  Help   PREV CLASS   NEXT CLASS FRAMES    NO FRAMES     All Classes'); } //-- All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD org.apache.openjpa.lib.conf Class ObjectValue java.lang.Object org.apache.openjpa.lib.conf.Value org.apache.openjpa.lib.conf.ObjectValue All Implemented Interfaces: Cloneable Direct Known Subclasses: PluginListValue, PluginValue public class ObjectValueextends Value An object Value. Author: Abe White Constructor Summary ObjectValue(String prop)               Method Summary  Object get()           The internal value. protected  String getInternalString()           Return the internal string form of this value.  Class getValueType()           Returns the type of the property that this Value represents.  Object instantiate(Class type, Configuration conf)           Instantiate the object as an instance of the given class.  Object instantiate(Class type, Configuration conf, boolean fatal)           Instantiate the object as an instance of the given class.  Object newInstance(String clsName, Class type, Configuration conf, boolean fatal)           Allow subclasses to instantiate additional plugins. protected  void objectChanged()           Implement this method to synchronize internal data with the new object value.  void set(Object obj)           The internal value.  void set(Object obj, boolean derived)           The internal value. protected  void setInternalObject(Object obj)           Set this value from an object. protected  void setInternalString(String str)           Set this value from the given string.   Methods inherited from class org.apache.openjpa.lib.conf.Value alias, alias, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListener, getLoadKey, getProperty, getScope, getString, hashCode, isAliasListComprehensive, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setInstantiatingGetter, setListener, setLoadKey, setObject, setProperty, setScope, setString, unalias, unalias, valueChanged   Methods inherited from class java.lang.Object finalize, getClass, notify, notifyAll, toString, wait, wait, wait   Constructor Detail ObjectValue public ObjectValue(String prop) Method Detail get public Object get() The internal value. set public void set(Object obj) The internal value. set public void set(Object obj, boolean derived) The internal value. Parameters:derived - if true, this value was derived from other properties instantiate public Object instantiate(Class type, Configuration conf) Instantiate the object as an instance of the given class. Equivalent to instantiate(type, conf, true). instantiate public Object instantiate(Class type, Configuration conf, boolean fatal) Instantiate the object as an instance of the given class. newInstance public Object newInstance(String clsName, Class type, Configuration conf, boolean fatal) Allow subclasses to instantiate additional plugins. This method does not perform configuration. getValueType public Class getValueType() Description copied from class: Value Returns the type of the property that this Value represents. Specified by:getValueType in class Value objectChanged protected void objectChanged() Implement this method to synchronize internal data with the new object value. getInternalString protected String getInternalString() Description copied from class: Value Return the internal string form of this value. Specified by:getInternalString in class Value setInternalString protected void setInternalString(String str) Description copied from class: Value Set this value from the given string. Specified by:setInternalString in class Value setInternalObject protected void setInternalObject(Object obj) Description copied from class: Value Set this value from an object. Specified by:setInternalObject in class Value Overview  Package   Class  Use  Tree  Deprecated  Index  Help   PREV CLASS   NEXT CLASS FRAMES    NO FRAMES     All Classes'); } //-- All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.