Package org.apache.openjpa.lib.conf
Class IntValue
java.lang.Object
org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.IntValue
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
FetchModeValue
An int
Value
.- Author:
- Marc Prud'hommeaux
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
The internal value.protected String
Return the internal string form of this value.Returns the type of the property that this Value represents.void
set
(int value) The internal value.protected void
setInternalObject
(Object obj) Set this value from an object.protected void
setInternalString
(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
-
IntValue
-
-
Method Details
-
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(int value) The internal value. -
get
The internal value. -
getInternalString
Description copied from class:Value
Return the internal string form of this value.- Specified by:
getInternalString
in classValue
-
setInternalString
Description copied from class:Value
Set this value from the given string.- Specified by:
setInternalString
in classValue
-
setInternalObject
Description copied from class:Value
Set this value from an object.- Specified by:
setInternalObject
in classValue
-