Package org.apache.openjpa.lib.conf
Class StringValue
- java.lang.Object
-
- org.apache.openjpa.lib.conf.Value
-
- org.apache.openjpa.lib.conf.StringValue
-
-
Constructor Summary
Constructors Constructor Description StringValue(java.lang.String prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget()The internal value.protected java.lang.StringgetInternalString()Return the internal string form of this value.java.lang.Class<java.lang.String>getValueType()Returns the type of the property that this Value represents.voidset(java.lang.String value)The internal value.protected voidsetInternalObject(java.lang.Object obj)Set this value from an object.protected voidsetInternalString(java.lang.String val)Set this value from the given string.-
Methods inherited from class org.apache.openjpa.lib.conf.Value
addEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, getString, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, setString, toString, unalias, unalias, valueChanged
-
-
-
-
Method Detail
-
getValueType
public java.lang.Class<java.lang.String> getValueType()
Description copied from class:ValueReturns the type of the property that this Value represents.- Specified by:
getValueTypein classValue
-
set
public void set(java.lang.String value)
The internal value.
-
getInternalString
protected java.lang.String getInternalString()
Description copied from class:ValueReturn the internal string form of this value.- Specified by:
getInternalStringin classValue
-
setInternalString
protected void setInternalString(java.lang.String val)
Description copied from class:ValueSet this value from the given string.- Specified by:
setInternalStringin classValue
-
setInternalObject
protected void setInternalObject(java.lang.Object obj)
Description copied from class:ValueSet this value from an object.- Specified by:
setInternalObjectin classValue
-
-