Package org.apache.openjpa.lib.conf
Class DoubleValue
java.lang.Object
org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.DoubleValue
- All Implemented Interfaces:
Cloneable
A double
Value.- Author:
- Marc Prud'hommeaux
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()The internal value.protected StringReturn the internal string form of this value.Returns the type of the property that this Value represents.voidset(double value) The internal value.protected voidsetInternalObject(Object obj) Set this value from an object.protected voidsetInternalString(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
-
Constructor Details
-
DoubleValue
-
-
Method Details
-
getValueType
Description copied from class:ValueReturns the type of the property that this Value represents.- Specified by:
getValueTypein classValue
-
set
public void set(double value) The internal value. -
get
The internal value. -
getInternalString
Description copied from class:ValueReturn the internal string form of this value.- Specified by:
getInternalStringin classValue
-
setInternalString
Description copied from class:ValueSet this value from the given string.- Specified by:
setInternalStringin classValue
-
setInternalObject
Description copied from class:ValueSet this value from an object.- Specified by:
setInternalObjectin classValue
-