Package org.apache.openjpa.lib.conf
Class StringListValue
- java.lang.Object
-
- org.apache.openjpa.lib.conf.Value
-
- org.apache.openjpa.lib.conf.StringListValue
-
- All Implemented Interfaces:
java.lang.Cloneable
public class StringListValue extends Value
A comma-separated list of string values.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description StringListValue(java.lang.String prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
get()
The internal value.protected java.util.List<java.lang.String>
getAliasList()
protected java.lang.String
getInternalString()
Return the internal string form of this value.java.lang.Class<java.lang.String[]>
getValueType()
Returns the type of the property that this Value represents.void
set(java.lang.String[] values)
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.java.lang.String
unalias(java.lang.String str)
Unalias the value list.-
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, valueChanged
-
-
-
-
Method Detail
-
set
public void set(java.lang.String[] values)
The internal value.
-
getValueType
public java.lang.Class<java.lang.String[]> getValueType()
Description copied from class:Value
Returns the type of the property that this Value represents.- Specified by:
getValueType
in classValue
-
unalias
public java.lang.String unalias(java.lang.String str)
Unalias the value list. This method defers to super.unalias() UNLESS the string passed is a list of values for a property that has aliases.
-
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
-
getAliasList
protected java.util.List<java.lang.String> getAliasList()
-
-