com.opensymphony.module.propertyset.ofbiz
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary |
| Fields inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
schema |
| Fields inherited from interface com.opensymphony.module.propertyset.PropertySet |
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML |
| Constructor Summary | |
OFBizPropertySet()
|
|
| Method Summary | |
boolean |
exists(java.lang.String key)
Determine if property exists. |
protected java.lang.Object |
get(int type,
java.lang.String key)
|
java.util.Collection |
getKeys()
Calls getKeys(null,0) |
java.util.Collection |
getKeys(java.lang.String prefix)
Calls getKeys(prefix,0) |
java.util.Collection |
getKeys(java.lang.String prefix,
int type)
List all keys starting with supplied prefix of certain type. |
int |
getType(java.lang.String key)
Returns type of value. |
void |
init(java.util.Map config,
java.util.Map args)
|
void |
remove()
Remove the propertyset and all it associated keys. |
void |
remove(java.lang.String key)
Removes property. |
protected void |
setImpl(int type,
java.lang.String key,
java.lang.Object obj)
|
boolean |
supportsType(int type)
Returns true. |
| Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getLong, getObject, getProperties, getSchema, getString, getText, getXML, isSettable, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setText, setXML, supportsTypes, toString, type, type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OFBizPropertySet()
| Method Detail |
public java.util.Collection getKeys()
throws PropertyException
AbstractPropertySetgetKeys(null,0)
getKeys in interface PropertySetgetKeys in class AbstractPropertySetPropertyException
public java.util.Collection getKeys(java.lang.String prefix)
throws PropertyException
AbstractPropertySetgetKeys(prefix,0)
getKeys in interface PropertySetgetKeys in class AbstractPropertySetPropertyException
public java.util.Collection getKeys(java.lang.String prefix,
int type)
throws PropertyException
PropertySet
getKeys in interface PropertySetprefix - String that keys must start with. If null, than all
keys shall be returned.type - Type to list. See static class variables. If null, then
all types shall be returned.
Collection of
Strings.
PropertyException
public int getType(java.lang.String key)
throws PropertyException
PropertySet
getType in interface PropertySetPropertyException
public boolean exists(java.lang.String key)
throws PropertyException
PropertySet
exists in interface PropertySetPropertyException
public void init(java.util.Map config,
java.util.Map args)
init in interface PropertySetinit in class AbstractPropertySet
public void remove()
throws PropertyException
PropertySet
remove in interface PropertySetPropertyException - if there is an error removing the propertyset.
public void remove(java.lang.String key)
throws PropertyException
PropertySet
remove in interface PropertySetPropertyExceptionpublic boolean supportsType(int type)
AbstractPropertySet
supportsType in interface PropertySetsupportsType in class AbstractPropertySet
protected void setImpl(int type,
java.lang.String key,
java.lang.Object obj)
throws PropertyException
setImpl in class AbstractPropertySetPropertyException
protected java.lang.Object get(int type,
java.lang.String key)
throws PropertyException
get in class AbstractPropertySetPropertyException
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||