org.apache.openjpa.lib.conf
Class BooleanValue

java.lang.Object
  extended by org.apache.openjpa.lib.conf.Value
      extended by org.apache.openjpa.lib.conf.BooleanValue
All Implemented Interfaces:
Cloneable

public class BooleanValue
extends Value

A boolean Value.

Author:
Marc Prud'hommeaux

Field Summary
 
Fields inherited from class org.apache.openjpa.lib.conf.Value
INVISIBLE
 
Constructor Summary
BooleanValue(String prop)
           
 
Method Summary
 Boolean get()
          The internal value.
protected  String getInternalString()
          Return the internal string form of this value.
 Class<Boolean> getValueType()
          Returns the type of the property that this Value represents.
 void set(boolean 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, containsReadOnlyConfigurationAsListener, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, getString, hashCode, hide, isAliasListComprehensive, isDefault, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, setString, toString, unalias, unalias, valueChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanValue

public BooleanValue(String prop)
Method Detail

getValueType

public Class<Boolean> getValueType()
Description copied from class: Value
Returns the type of the property that this Value represents.

Specified by:
getValueType in class Value

set

public void set(boolean value)
The internal value.


get

public Boolean get()
The internal value.

Specified by:
get in class Value

getInternalString

protected String getInternalString()
Description copied from class: Value
Return the internal string form of this value.

Specified by:
getInternalString in class Value

setInternalString

protected void setInternalString(String val)
Description copied from class: Value
Set this value from the given string.

Specified by:
setInternalString in class Value

setInternalObject

protected void setInternalObject(Object obj)
Description copied from class: Value
Set this value from an object.

Specified by:
setInternalObject in class Value


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.