Package org.apache.openjpa.lib.conf
Class BooleanValue
- java.lang.Object
-
- org.apache.openjpa.lib.conf.Value
-
- org.apache.openjpa.lib.conf.BooleanValue
-
-
Constructor Summary
Constructors Constructor Description BooleanValue(java.lang.String prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
get()
The internal value.protected java.lang.String
getInternalString()
Return the internal string form of this value.java.lang.Class<java.lang.Boolean>
getValueType()
Returns the type of the property that this Value represents.void
set(boolean value)
The internal value.protected void
setInternalObject(java.lang.Object obj)
Set this value from an object.protected void
setInternalString(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.Boolean> getValueType()
Description copied from class:Value
Returns the type of the property that this Value represents.- Specified by:
getValueType
in classValue
-
set
public void set(boolean value)
The internal value.
-
getInternalString
protected java.lang.String getInternalString()
Description copied from class:Value
Return the internal string form of this value.- Specified by:
getInternalString
in classValue
-
setInternalString
protected void setInternalString(java.lang.String val)
Description copied from class:Value
Set this value from the given string.- Specified by:
setInternalString
in classValue
-
setInternalObject
protected void setInternalObject(java.lang.Object obj)
Description copied from class:Value
Set this value from an object.- Specified by:
setInternalObject
in classValue
-
-