Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.lib.conf
Class StringValue

    java.lang.Object
      org.apache.openjpa.lib.conf.Value
          org.apache.openjpa.lib.conf.StringValue

All Implemented Interfaces:
  Cloneable

    public class StringValue

extends Value

A string `Value`.

Author:
  Marc Prud'hommeaux

Constructor Summary
`StringValue(String prop)`

Method Summary
`String` | `get()` The internal value.
`protected String` | `getInternalString()` Return the internal string form of this value.
`Class` | `getValueType()` Returns the type of the property that this Value represents.
`void` | `set(String 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
`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

### StringValue

    public StringValue(String prop)

Method Detail

### getValueType

    public Class getValueType()

  Description copied from class: `Value`
  Returns the type of the property that this Value represents.

  Specified by:
    `getValueType` in class `Value`

### get

    public String get()

  The internal value.

### set

    public void set(String value)

  The internal 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Apache Software Foundation. All Rights Reserved.