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:
java.lang.Cloneable
- Direct Known Subclasses:
FetchModeValue
public class IntValue extends Value
An intValue
.- Author:
- Marc Prud'hommeaux
-
-
Constructor Summary
Constructors Constructor Description IntValue(java.lang.String prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
get()
The internal value.protected java.lang.String
getInternalString()
Return the internal string form of this value.java.lang.Class<java.lang.Integer>
getValueType()
Returns the type of the property that this Value represents.void
set(int 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.Integer> 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.
-
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
-
-