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