Class FileValue

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

public class FileValue extends Value
Author:
Marc Prud'hommeaux
  • Constructor Details

    • FileValue

      public FileValue(String prop)
  • Method Details

    • getValueType

      public Class<File> 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(File value)
      The internal value.
    • get

      public File 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