org.apache.openjpa.lib.conf
Class FileValue

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

public class FileValue
extends Value

A File Value.

Author:
Marc Prud'hommeaux

Constructor Summary
FileValue(java.lang.String prop)
           
 
Method Summary
 java.io.File get()
          The internal value.
protected  java.lang.String getInternalString()
          Return the internal string form of this value.
 java.lang.Class getValueType()
          Returns the type of the property that this Value represents.
 void set(java.io.File 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
alias, alias, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListener, getLoadKey, getProperty, getScope, getString, hashCode, isAliasListComprehensive, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setInstantiatingGetter, setListener, setLoadKey, setObject, setProperty, setScope, setString, unalias, unalias, valueChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileValue

public FileValue(java.lang.String prop)
Method Detail

getValueType

public java.lang.Class 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(java.io.File value)
The internal value.


get

public java.io.File get()
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 class Value

setInternalString

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

Specified by:
setInternalString in class Value

setInternalObject

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

Specified by:
setInternalObject in class Value


Copyright © 2006 Apache Software Foundation. All Rights Reserved.