public class MockPropertySet extends Object implements com.opensymphony.module.propertyset.PropertySet
| Constructor and Description |
|---|
MockPropertySet() |
MockPropertySet(Map<String,Object> map) |
public Map getMap()
public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema propertySetSchema)
setSchema in interface com.opensymphony.module.propertyset.PropertySetpublic com.opensymphony.module.propertyset.PropertySetSchema getSchema()
throws com.opensymphony.module.propertyset.PropertyException
getSchema in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setAsActualType(String s, Object o)
setAsActualType in interface com.opensymphony.module.propertyset.PropertySetpublic Object getAsActualType(String s)
getAsActualType in interface com.opensymphony.module.propertyset.PropertySetpublic void setBoolean(String s, boolean b)
setBoolean in interface com.opensymphony.module.propertyset.PropertySetpublic boolean getBoolean(String s) throws com.opensymphony.module.propertyset.PropertyException
getBoolean in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setData(String s, byte[] bytes)
setData in interface com.opensymphony.module.propertyset.PropertySetpublic byte[] getData(String s) throws com.opensymphony.module.propertyset.PropertyException
getData in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setDate(String s, Date date) throws com.opensymphony.module.propertyset.PropertyException
setDate in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Date getDate(String s) throws com.opensymphony.module.propertyset.PropertyException
getDate in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setDouble(String s, double v) throws com.opensymphony.module.propertyset.PropertyException
setDouble in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic double getDouble(String s) throws com.opensymphony.module.propertyset.PropertyException
getDouble in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setInt(String s, int i) throws com.opensymphony.module.propertyset.PropertyException
setInt in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic int getInt(String s) throws com.opensymphony.module.propertyset.PropertyException
getInt in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys() throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(int i) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(String s) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Collection getKeys(String s, int i) throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setLong(String s, long l) throws com.opensymphony.module.propertyset.PropertyException
setLong in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic long getLong(String s) throws com.opensymphony.module.propertyset.PropertyException
getLong in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setObject(String s, Object o) throws com.opensymphony.module.propertyset.PropertyException
setObject in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Object getObject(String s) throws com.opensymphony.module.propertyset.PropertyException
getObject in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setProperties(String s, Properties properties) throws com.opensymphony.module.propertyset.PropertyException
setProperties in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Properties getProperties(String s) throws com.opensymphony.module.propertyset.PropertyException
getProperties in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean isSettable(String s)
isSettable in interface com.opensymphony.module.propertyset.PropertySetpublic void setString(String s, String s1) throws com.opensymphony.module.propertyset.PropertyException
setString in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic String getString(String s) throws com.opensymphony.module.propertyset.PropertyException
getString in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setText(String s, String s1) throws com.opensymphony.module.propertyset.PropertyException
setText in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic String getText(String s) throws com.opensymphony.module.propertyset.PropertyException
getText in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic int getType(String key) throws com.opensymphony.module.propertyset.PropertyException
getType in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void setXML(String s, Document document) throws com.opensymphony.module.propertyset.PropertyException
setXML in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic Document getXML(String s) throws com.opensymphony.module.propertyset.PropertyException
getXML in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean exists(String s) throws com.opensymphony.module.propertyset.PropertyException
exists in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void init(Map map, Map map1)
init in interface com.opensymphony.module.propertyset.PropertySetpublic void remove(String s) throws com.opensymphony.module.propertyset.PropertyException
remove in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic void remove()
throws com.opensymphony.module.propertyset.PropertyException
remove in interface com.opensymphony.module.propertyset.PropertySetcom.opensymphony.module.propertyset.PropertyExceptionpublic boolean supportsType(int i)
supportsType in interface com.opensymphony.module.propertyset.PropertySetpublic boolean supportsTypes()
supportsTypes in interface com.opensymphony.module.propertyset.PropertySetCopyright © 2002-2019 Atlassian. All Rights Reserved.