public class

MockPropertySet

extends Object
implements PropertySet
java.lang.Object
   ↳ com.atlassian.mock.propertyset.MockPropertySet

Class Overview

Simple mock @{link PropertySet} for dashboard tests. * Not completely implemented *.

Summary

[Expand]
Inherited Constants
From interface com.opensymphony.module.propertyset.PropertySet
Public Constructors
MockPropertySet()
MockPropertySet(Map<StringObject> map)
Public Methods
Map<StringObject> 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
From interface com.opensymphony.module.propertyset.PropertySet

Public Constructors

public MockPropertySet ()

public MockPropertySet (Map<StringObject> map)

Public Methods

public Map<StringObject> asMap ()

public boolean exists (String s)

public Object getAsActualType (String s)

public boolean getBoolean (String s)

public byte[] getData (String s)

public Date getDate (String s)

public double getDouble (String s)

public int getInt (String s)

public Collection getKeys ()

public Collection getKeys (int i)

public Collection getKeys (String s)

public Collection getKeys (String s, int i)

public long getLong (String s)

public Map getMap ()

public Object getObject (String s)

public Properties getProperties (String s)

public PropertySetSchema getSchema ()

public String getString (String s)

public String getText (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 remove ()

public void remove (String s)

public void setAsActualType (String s, Object o)

public void setBoolean (String s, boolean b)

public void setData (String s, byte[] bytes)

public void setDate (String s, Date date)

public void setDouble (String s, double v)

public void setInt (String s, int i)

public void setLong (String s, long l)

public void setObject (String s, Object o)

public void setProperties (String s, Properties properties)

public void setSchema (PropertySetSchema propertySetSchema)

public void setString (String s, String s1)

public void setText (String s, String s1)

public void setXML (String s, Document document)

public boolean supportsType (int i)

public boolean supportsTypes ()