Class Overview
Simple mock @{link PropertySet} for dashboard tests. * Not completely implemented *.
Summary
[Expand]
Inherited Constants |
From interface
com.opensymphony.module.propertyset.PropertySet
int |
BOOLEAN |
|
int |
DATA |
|
int |
DATE |
|
int |
DOUBLE |
|
int |
INT |
|
int |
LONG |
|
int |
OBJECT |
|
int |
PROPERTIES |
|
int |
STRING |
|
int |
TEXT |
|
int |
XML |
|
|
Public Methods |
Map<String, Object>
|
asMap()
|
boolean
|
exists(String s)
|
Object
|
getAsActualType(String s)
|
boolean
|
getBoolean(String s)
|
byte[]
|
getData(String s)
|
Date
|
getDate(String s)
|
double
|
getDouble(String s)
|
int
|
getInt(String s)
|
Collection
|
getKeys()
|
Collection
|
getKeys(int i)
|
Collection
|
getKeys(String s)
|
Collection
|
getKeys(String s, int i)
|
long
|
getLong(String s)
|
Map
|
getMap()
|
Object
|
getObject(String s)
|
Properties
|
getProperties(String s)
|
PropertySetSchema
|
getSchema()
|
String
|
getString(String s)
|
String
|
getText(String s)
|
int
|
getType(String key)
|
Document
|
getXML(String s)
|
void
|
init(Map map, Map map1)
|
boolean
|
isSettable(String s)
|
void
|
remove()
|
void
|
remove(String s)
|
void
|
setAsActualType(String s, Object o)
|
void
|
setBoolean(String s, boolean b)
|
void
|
setData(String s, byte[] bytes)
|
void
|
setDate(String s, Date date)
|
void
|
setDouble(String s, double v)
|
void
|
setInt(String s, int i)
|
void
|
setLong(String s, long l)
|
void
|
setObject(String s, Object o)
|
void
|
setProperties(String s, Properties properties)
|
void
|
setSchema(PropertySetSchema propertySetSchema)
|
void
|
setString(String s, String s1)
|
void
|
setText(String s, String s1)
|
void
|
setXML(String s, Document document)
|
boolean
|
supportsType(int i)
|
boolean
|
supportsTypes()
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.opensymphony.module.propertyset.PropertySet
boolean
|
exists(String arg0)
|
Object
|
getAsActualType(String arg0)
|
boolean
|
getBoolean(String arg0)
|
byte[]
|
getData(String arg0)
|
Date
|
getDate(String arg0)
|
double
|
getDouble(String arg0)
|
int
|
getInt(String arg0)
|
Collection
|
getKeys()
|
Collection
|
getKeys(int arg0)
|
Collection
|
getKeys(String arg0)
|
Collection
|
getKeys(String arg0, int arg1)
|
long
|
getLong(String arg0)
|
Object
|
getObject(String arg0)
|
Properties
|
getProperties(String arg0)
|
PropertySetSchema
|
getSchema()
|
String
|
getString(String arg0)
|
String
|
getText(String arg0)
|
int
|
getType(String arg0)
|
Document
|
getXML(String arg0)
|
void
|
init(Map arg0, Map arg1)
|
boolean
|
isSettable(String arg0)
|
void
|
remove()
|
void
|
remove(String arg0)
|
void
|
setAsActualType(String arg0, Object arg1)
|
void
|
setBoolean(String arg0, boolean arg1)
|
void
|
setData(String arg0, byte[] arg1)
|
void
|
setDate(String arg0, Date arg1)
|
void
|
setDouble(String arg0, double arg1)
|
void
|
setInt(String arg0, int arg1)
|
void
|
setLong(String arg0, long arg1)
|
void
|
setObject(String arg0, Object arg1)
|
void
|
setProperties(String arg0, Properties arg1)
|
void
|
setSchema(PropertySetSchema arg0)
|
void
|
setString(String arg0, String arg1)
|
void
|
setText(String arg0, String arg1)
|
void
|
setXML(String arg0, Document arg1)
|
boolean
|
supportsType(int arg0)
|
boolean
|
supportsTypes()
|
|
Public Constructors
public
MockPropertySet
()
Public Methods
public
boolean
exists
(String s)
public
boolean
getBoolean
(String s)
public
byte[]
getData
(String s)
public
double
getDouble
(String s)
public
long
getLong
(String s)
public
int
getType
(String key)
public
Document
getXML
(String s)
public
void
init
(Map map, Map map1)
public
boolean
isSettable
(String s)
public
void
setBoolean
(String s, boolean b)
public
void
setData
(String s, byte[] bytes)
public
void
setDouble
(String s, double v)
public
void
setInt
(String s, int i)
public
void
setLong
(String s, long l)
public
void
setXML
(String s, Document document)
public
boolean
supportsType
(int i)
public
boolean
supportsTypes
()