|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The BsoPropertyMap
interface provides a simple map object
in which both property keys and values are limited to string values.
Method Summary | |
void |
clear()
Removes all property keys and their values. |
void |
copy(BsoPropertyMap source)
Copies all of the property keys and values from the source BsoPropertyMap
object to this object. |
java.lang.String |
getProperty(java.lang.String key)
Returns the value associated with the given property key. |
java.util.Iterator |
getPropertyKeys()
Returns an iterator over a collection of property key names. |
boolean |
isEmpty()
Returns a boolean that indicates whether or not the map has
properties. |
void |
removeProperty(java.lang.String key)
Removes the given property key and value from this map. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property value and key into this map. |
int |
size()
Returns the number of property key/value pairs in this map. |
Method Detail |
public void clear()
public void copy(BsoPropertyMap source)
BsoPropertyMap
object to this object.
source
- The source BsoPropertyMap
object.public java.lang.String getProperty(java.lang.String key)
key
- The property key name associated with the value.
public java.util.Iterator getPropertyKeys()
public boolean isEmpty()
boolean
that indicates whether or not the map has
properties. true
if map has no properties.
true
if the map has no properties; returns false
if properties are present.public void removeProperty(java.lang.String key)
key
- A String
that contains the property key name to remove.public void setProperty(java.lang.String key, java.lang.String value)
key
- A String
that contains the property key.
value
- A String
that contains the property value.public int size()
integer
representing the number of property key/value pairs.
|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |